Updates
This commit is contained in:
@@ -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;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user