mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-07-07 12:36:57 +00:00
fix type error in NotificationService.ts
This commit is contained in:
parent
5e941385db
commit
db58f4dda7
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ export class NotificationService implements OnApplicationShutdown {
|
||||||
redisId = (await this.redisClient.xadd(
|
redisId = (await this.redisClient.xadd(
|
||||||
`notificationTimeline:${notifieeId}`,
|
`notificationTimeline:${notifieeId}`,
|
||||||
'MAXLEN', '~', this.config.perUserNotificationsMaxCount.toString(),
|
'MAXLEN', '~', this.config.perUserNotificationsMaxCount.toString(),
|
||||||
this.toXListId(notification.id),
|
this.toXListId(notification.id, 0),
|
||||||
'data', JSON.stringify(notification)))!;
|
'data', JSON.stringify(notification)))!;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
// The ID specified in XADD is equal or smaller than the target stream top item で失敗することがあるのでリトライ
|
// The ID specified in XADD is equal or smaller than the target stream top item で失敗することがあるのでリトライ
|
||||||
|
|
Loading…
Add table
Reference in a new issue