fix: postgres refresh requests fail userId
This commit is contained in:
parent
80b083f1aa
commit
c02cc81ad6
2 changed files with 3 additions and 4 deletions
|
@ -13,7 +13,7 @@ export default abstract class UserPermissionService {
|
|||
return await dataSource
|
||||
.getRepository(userPermission)
|
||||
.createQueryBuilder("permission")
|
||||
.where("permission.userId = :userId", { userId: userId })
|
||||
.where({ userId: userId })
|
||||
.getMany()
|
||||
.then((res) => {
|
||||
return res;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue