mirror of
https://github.com/SyncrowIOT/backend.git
synced 2026-10-24 13:17:54 +00:00
Add Tag Module with CRUD operations
This commit is contained in:
@@ -3,7 +3,7 @@ import { NewTagEntity } from '../entities';
|
||||
import { DataSource, Repository } from 'typeorm';
|
||||
|
||||
@Injectable()
|
||||
export class NewTagRepository extends Repository<NewTagRepository> {
|
||||
export class NewTagRepository extends Repository<NewTagEntity> {
|
||||
constructor(private dataSource: DataSource) {
|
||||
super(NewTagEntity, dataSource.createEntityManager());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user