mirror of
https://github.com/misskey-dev/misskey.git
synced 2025-01-11 01:00:07 +09:00
fix(backend): アプリ作成方式で作成したトークンの権限を表示するように (#15177)
This commit is contained in:
parent
f4e025170e
commit
020882edcf
@ -87,7 +87,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
|
|||||||
name: token.name ?? token.app?.name,
|
name: token.name ?? token.app?.name,
|
||||||
createdAt: this.idService.parse(token.id).date.toISOString(),
|
createdAt: this.idService.parse(token.id).date.toISOString(),
|
||||||
lastUsedAt: token.lastUsedAt?.toISOString(),
|
lastUsedAt: token.lastUsedAt?.toISOString(),
|
||||||
permission: token.permission,
|
permission: token.app ? token.app.permission : token.permission,
|
||||||
})));
|
})));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user