fix error in i/shared-access/list
This commit is contained in:
parent
ac576ca7fc
commit
945260d175
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
|
|||
super(meta, paramDef, async (ps, me, token) => {
|
||||
const tokens = await this.accessTokensRepository
|
||||
.createQueryBuilder('token')
|
||||
.where(':meIdAsList <@ token.granteeIds')
|
||||
.where(':meIdAsList <@ token.granteeIds', { meIdAsList: [me.id] })
|
||||
.getMany();
|
||||
|
||||
const userIds = tokens.map(token => token.userId);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue