Skip to content

Commit 26850b2

Browse files
committed
refactor(query-sequelize): Linting
1 parent b9ee70a commit 26850b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/query-sequelize/src/services/relation-query.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ export abstract class RelationQueryService<Entity extends Model<Entity, Partial<
426426

427427
private ensureIsEntity(entity: Entity): Entity {
428428
if (!(entity instanceof this.model)) {
429-
return this.model.build(entity as never)
429+
return this.model.build(entity)
430430
}
431431
return entity
432432
}

0 commit comments

Comments
 (0)