We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a0079b commit 1850f7fCopy full SHA for 1850f7f
1 file changed
src/graphorm/index.ts
@@ -1800,7 +1800,7 @@ const obj = new GraphORM({
1800
qb
1801
.where(`${childAlias}."userId" = ${parentAlias}.id`)
1802
.andWhere(`${childAlias}.verified = true`)
1803
- .andWhere(`${childAlias}.type = '1'`)
+ .andWhere(`${childAlias}.type = 'work'`)
1804
.orderBy(`${childAlias}."startedAt"`, 'DESC')
1805
.limit(1),
1806
},
0 commit comments