Skip to content

Commit 8d7aaa5

Browse files
authored
Merge pull request #34 from Mites-G/fix/entity-imports
fix(database): Entity import paths
2 parents a546957 + dfb6a3f commit 8d7aaa5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libs/database/src/lib/seeders/factory/comments.factory.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { FactorizedAttrs, Factory } from '@jorgebodega/typeorm-factory';
2-
import { CommentKind, Comments } from '@nestjs-json-api/database';
32
import { faker } from '@faker-js/faker';
43
import { DataSource } from 'typeorm';
4+
import { CommentKind, Comments } from '../../entities';
55

66
export class CommentsFactory extends Factory<Comments> {
77
protected entity = Comments;

libs/database/src/lib/seeders/factory/roles.factory.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { FactorizedAttrs, Factory } from '@jorgebodega/typeorm-factory';
2-
import { Roles } from '@nestjs-json-api/database';
32
import { DataSource } from 'typeorm';
43
import { faker } from '@faker-js/faker';
4+
import { Roles } from '../../entities';
55

66
export class RolesFactory extends Factory<Roles> {
77
protected entity = Roles;

0 commit comments

Comments
 (0)