diff options
| author | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-08-27 17:21:24 +0900 |
|---|---|---|
| committer | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-08-27 17:21:24 +0900 |
| commit | c9f363b215cf60805bcbe5c8d88b5cb8f940c419 (patch) | |
| tree | f6b89b0c5d3637f16afa6ba3388a15fc95d6fc1f /packages/backend/src | |
| parent | 型の漏れを修正 (diff) | |
| download | misskey-c9f363b215cf60805bcbe5c8d88b5cb8f940c419.tar.gz misskey-c9f363b215cf60805bcbe5c8d88b5cb8f940c419.tar.bz2 misskey-c9f363b215cf60805bcbe5c8d88b5cb8f940c419.zip | |
fix i/apps schema
Diffstat (limited to 'packages/backend/src')
| -rw-r--r-- | packages/backend/src/server/api/endpoints/i/apps.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/backend/src/server/api/endpoints/i/apps.ts b/packages/backend/src/server/api/endpoints/i/apps.ts index 055b5cc061..523d81ac73 100644 --- a/packages/backend/src/server/api/endpoints/i/apps.ts +++ b/packages/backend/src/server/api/endpoints/i/apps.ts @@ -46,6 +46,14 @@ export const meta = { type: 'string', }, }, + iconUrl: { + type: 'string', + optional: true, nullable: true, + }, + description: { + type: 'string', + optional: true, nullable: true, + }, }, }, }, @@ -88,6 +96,8 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint- createdAt: this.idService.parse(token.id).date.toISOString(), lastUsedAt: token.lastUsedAt?.toISOString(), permission: token.app ? token.app.permission : token.permission, + iconUrl: token.iconUrl, + description: token.description ?? token.app?.description ?? null, }))); }); } |