parent
39cf80e19f
commit
70a06e30d5
4 changed files with 14 additions and 3 deletions
|
@ -99,7 +99,7 @@ export class NotificationService implements OnApplicationShutdown {
|
|||
const redisIdPromise = this.redisClient.xadd(
|
||||
`notificationTimeline:${notifieeId}`,
|
||||
'MAXLEN', '~', '300',
|
||||
`${this.idService.parse(notification.id).date.getTime()}-*`,
|
||||
'*',
|
||||
'data', JSON.stringify(notification));
|
||||
|
||||
const packed = await this.notificationEntityService.pack(notification, notifieeId, {});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue