This commit is contained in:
Benjamin Toby
2025-02-19 20:01:50 +01:00
parent c08db13f3d
commit e9bb9fb07f
113 changed files with 253 additions and 63 deletions
@@ -28,6 +28,7 @@ const tmpDir = process.argv[process.argv.length - 1];
*/
function createUser() {
return __awaiter(this, void 0, void 0, function* () {
var _a;
/**
* Validate Form
*
@@ -126,7 +127,7 @@ function createUser() {
return true;
}
catch (error) {
console.log(`Error in creating user => ${error.message}`);
(_a = global.ERROR_CALLBACK) === null || _a === void 0 ? void 0 : _a.call(global, `Error Creating User`, error);
return false;
}
});
@@ -24,6 +24,7 @@ const tmpDir = process.argv[process.argv.length - 1];
*/
function createUser() {
return __awaiter(this, void 0, void 0, function* () {
var _a;
/**
* Validate Form
*
@@ -65,7 +66,7 @@ function createUser() {
return true;
}
catch (error) {
console.log(`Error in creating user => ${error.message}`);
(_a = global.ERROR_CALLBACK) === null || _a === void 0 ? void 0 : _a.call(global, `Error Updating User`, error);
return false;
}
});