Migrated user related sechamas to src/schemas/user/
This commit is contained in:
parent
3eddd0ea5b
commit
3de4bff68d
26 changed files with 41 additions and 39 deletions
|
|
@ -18,7 +18,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.*/
|
|||
const {validationResult, matchedData} = require('express-validator');
|
||||
|
||||
//local imports
|
||||
const {userModel} = require('../../../schemas/userSchema');
|
||||
const {userModel} = require('../../../schemas/user/userSchema');
|
||||
const accountUtils = require('../../../utils/sessionUtils');
|
||||
const {exceptionHandler, errorHandler} = require('../../../utils/loggerUtils');
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.*/
|
|||
const {validationResult, matchedData} = require('express-validator');
|
||||
|
||||
//local imports
|
||||
const passwordResetModel = require('../../../schemas/passwordResetSchema');
|
||||
const passwordResetModel = require('../../../schemas/user/passwordResetSchema');
|
||||
const sessionUtils = require('../../../utils/sessionUtils');
|
||||
const altchaUtils = require('../../../utils/altchaUtils');
|
||||
const {exceptionHandler, errorHandler} = require('../../../utils/loggerUtils');
|
||||
|
|
|
|||
|
|
@ -21,8 +21,8 @@ const config = require('../../../../config.json');
|
|||
const {validationResult, matchedData} = require('express-validator');
|
||||
|
||||
//local imports
|
||||
const {userModel} = require('../../../schemas/userSchema');
|
||||
const passwordResetModel = require('../../../schemas/passwordResetSchema');
|
||||
const {userModel} = require('../../../schemas/user/userSchema');
|
||||
const passwordResetModel = require('../../../schemas/user/passwordResetSchema');
|
||||
const mailUtils = require('../../../utils/mailUtils');
|
||||
const altchaUtils = require('../../../utils/altchaUtils');
|
||||
const {exceptionHandler, errorHandler} = require('../../../utils/loggerUtils');
|
||||
|
|
|
|||
|
|
@ -21,8 +21,8 @@ const config = require('../../../../config.json');
|
|||
const {validationResult, matchedData} = require('express-validator');
|
||||
|
||||
//local imports
|
||||
const {userModel} = require('../../../schemas/userSchema');
|
||||
const userBanModel = require('../../../schemas/userBanSchema');
|
||||
const {userModel} = require('../../../schemas/user/userSchema');
|
||||
const userBanModel = require('../../../schemas/user/userBanSchema');
|
||||
const altchaUtils = require('../../../utils/altchaUtils');
|
||||
const {exceptionHandler, errorHandler} = require('../../../utils/loggerUtils');
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.*/
|
|||
const {validationResult, matchedData} = require('express-validator');
|
||||
|
||||
//local imports
|
||||
const {userModel} = require('../../../schemas/userSchema');
|
||||
const {userModel} = require('../../../schemas/user/userSchema');
|
||||
const accountUtils = require('../../../utils/sessionUtils');
|
||||
const {exceptionHandler, errorHandler} = require('../../../utils/loggerUtils');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue