summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorHazelnoot <acomputerdog@gmail.com>2025-04-02 22:31:53 -0400
committerHazelnoot <acomputerdog@gmail.com>2025-04-02 22:31:53 -0400
commitdb58f4dda756ddaa45dfef52381818722204c770 (patch)
treefd66dce0b53089e28971908a9660d1a8007aefef /packages
parentMerge branch 'misskey-develop' into merge/2025-03-24 (diff)
downloadsharkey-db58f4dda756ddaa45dfef52381818722204c770.tar.gz
sharkey-db58f4dda756ddaa45dfef52381818722204c770.tar.bz2
sharkey-db58f4dda756ddaa45dfef52381818722204c770.zip
fix type error in NotificationService.ts
Diffstat (limited to 'packages')
-rw-r--r--packages/backend/src/core/NotificationService.ts2
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 で失敗することがあるのでリトライ