create admins endpoint

This commit is contained in:
Errormacr
2023-11-18 20:41:14 +03:00
parent 6bf6886826
commit 5c0b94e09e
59 changed files with 704 additions and 3 deletions

View File

@@ -1,8 +1,9 @@
import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { User } from './database/user.entity';
import { Admin } from './database/admin.entity';
@Module({
imports: [TypeOrmModule.forFeature([User])],
imports: [TypeOrmModule.forFeature([User,Admin])],
exports: [TypeOrmModule],
})
export class LibsModule {}