diff options
| author | Hazelnoot <acomputerdog@gmail.com> | 2025-04-02 22:31:53 -0400 |
|---|---|---|
| committer | Hazelnoot <acomputerdog@gmail.com> | 2025-04-02 22:31:53 -0400 |
| commit | db58f4dda756ddaa45dfef52381818722204c770 (patch) | |
| tree | fd66dce0b53089e28971908a9660d1a8007aefef /packages/backend/src/core/NotificationService.ts | |
| parent | Merge branch 'misskey-develop' into merge/2025-03-24 (diff) | |
| download | sharkey-db58f4dda756ddaa45dfef52381818722204c770.tar.gz sharkey-db58f4dda756ddaa45dfef52381818722204c770.tar.bz2 sharkey-db58f4dda756ddaa45dfef52381818722204c770.zip | |
fix type error in NotificationService.ts
Diffstat (limited to 'packages/backend/src/core/NotificationService.ts')
| -rw-r--r-- | packages/backend/src/core/NotificationService.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/backend/src/core/NotificationService.ts b/packages/backend/src/core/NotificationService.ts index 0b699a934e..0f05f5425d 100644 --- a/packages/backend/src/core/NotificationService.ts +++ b/packages/backend/src/core/NotificationService.ts @@ -165,7 +165,7 @@ export class NotificationService implements OnApplicationShutdown { redisId = (await this.redisClient.xadd( `notificationTimeline:${notifieeId}`, 'MAXLEN', '~', this.config.perUserNotificationsMaxCount.toString(), - this.toXListId(notification.id), + this.toXListId(notification.id, 0), 'data', JSON.stringify(notification)))!; } catch (e) { // The ID specified in XADD is equal or smaller than the target stream top item で失敗することがあるのでリトライ |