diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2023-02-22 14:58:41 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2023-02-22 14:58:41 +0900 |
| commit | 5ec07ede7ce904ab135cad1d425a4957515de3a9 (patch) | |
| tree | 14a517cd3c526e757a52138f3e54693586ff378d /packages/backend/src/core/PushNotificationService.ts | |
| parent | fix type (diff) | |
| download | misskey-5ec07ede7ce904ab135cad1d425a4957515de3a9.tar.gz misskey-5ec07ede7ce904ab135cad1d425a4957515de3a9.tar.bz2 misskey-5ec07ede7ce904ab135cad1d425a4957515de3a9.zip | |
fix types
Diffstat (limited to 'packages/backend/src/core/PushNotificationService.ts')
| -rw-r--r-- | packages/backend/src/core/PushNotificationService.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/backend/src/core/PushNotificationService.ts b/packages/backend/src/core/PushNotificationService.ts index 545f86d764..2cad1bc07e 100644 --- a/packages/backend/src/core/PushNotificationService.ts +++ b/packages/backend/src/core/PushNotificationService.ts @@ -22,7 +22,7 @@ type PushNotificationsTypes = { }; // Reduce length because push message servers have character limits -function truncateBody<T extends keyof pushNotificationsTypes>(type: T, body: pushNotificationsTypes[T]): pushNotificationsTypes[T] { +function truncateBody<T extends keyof PushNotificationsTypes>(type: T, body: PushNotificationsTypes[T]): PushNotificationsTypes[T] { if (typeof body !== 'object') return body; return { |