chore: change messages from hardcode to enum

This commit is contained in:
Matin
2025-01-26 11:28:14 +03:30
parent c8c98be6ee
commit d6985fff26
7 changed files with 135 additions and 8 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import { BadRequestException, Injectable, Logger } from "@nestjs/common";
import slugify from "slugify";
import { In, Not } from "typeorm";
import { RoleRepository } from "./roles.repository";
import { RoleRepository } from "../repositories/roles.repository";
// import { roles } from "../../../../database/seeders/role.seeder";
import { CommonMessage, UserMessage } from "../../../common/enums/message.enum";
import { CompleteRegistrationDto } from "../../auth/DTO/complete-register.dto";