FIX: UserSeeder

ADD: Get-Self endpoint for users
ADD: Category and Role Seeder
FIX: Login Check Bug
ADD: Extra fields for documents and images in belonging model
ADD: localhost:5173 to cors
ADD: SuperAdmin ID to env
This commit is contained in:
2025-01-03 17:45:09 +03:30
parent bda5bca9de
commit 465b678357
11 changed files with 180 additions and 12 deletions
+4 -1
View File
@@ -1,5 +1,8 @@
const userSeeder = require('../components/user/userSeeder')
const categorySeeder = require('../components/category/categorySeeder')
const roleSeeder = require('../components/role/roleSeeder')
module.exports.run = async () => {
await userSeeder.runSeeder()
await categorySeeder.runSeeder()
await roleSeeder.runSeeder()
}