diff options
| author | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-08-28 11:16:40 +0900 |
|---|---|---|
| committer | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-08-28 11:16:40 +0900 |
| commit | 8c2b96ad37f9e7fa5401721d30faba3e3f106732 (patch) | |
| tree | ca614d940ffcce0a71d8fe086677c7c5ca45822a /packages/backend/src | |
| parent | refactor (diff) | |
| download | misskey-8c2b96ad37f9e7fa5401721d30faba3e3f106732.tar.gz misskey-8c2b96ad37f9e7fa5401721d30faba3e3f106732.tar.bz2 misskey-8c2b96ad37f9e7fa5401721d30faba3e3f106732.zip | |
lint
Diffstat (limited to 'packages/backend/src')
| -rw-r--r-- | packages/backend/src/core/WebhookTestService.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/backend/src/core/WebhookTestService.ts b/packages/backend/src/core/WebhookTestService.ts index 907b5ea6be..6714bda9a9 100644 --- a/packages/backend/src/core/WebhookTestService.ts +++ b/packages/backend/src/core/WebhookTestService.ts @@ -244,7 +244,6 @@ export class WebhookTestService { case 'reaction': return; default: { - // eslint-disable-next-line @typescript-eslint/no-unused-vars const _exhaustiveAssertion: never = params.type; return; } @@ -327,7 +326,6 @@ export class WebhookTestService { break; } default: { - // eslint-disable-next-line @typescript-eslint/no-unused-vars const _exhaustiveAssertion: never = params.type; return; } @@ -412,7 +410,7 @@ export class WebhookTestService { name: user.name, username: user.username, host: user.host, - avatarUrl: user.avatarId == null ? null : user.avatarUrl, + avatarUrl: (user.avatarId == null ? null : user.avatarUrl) ?? '', avatarBlurhash: user.avatarId == null ? null : user.avatarBlurhash, avatarDecorations: user.avatarDecorations.map(it => ({ id: it.id, |