Skip to content

Commit dfb6a3f

Browse files
author
Mateus Garcia
committed
fix: entity import paths
1 parent a546957 commit dfb6a3f

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)