mirror of
https://github.com/HeyPuter/puter.git
synced 2026-11-04 13:03:37 +00:00
fix(notifications): read the app off the notification on an update
This commit is contained in:
1 parent
8010c9fc94
commit
fe8acf007c
1 file changed
+1
-1
@@ -234,7 +234,7 @@ export class NotificationService extends PuterService {
|
||||
const row = await this.stores.notification.getByUid(uid, {
|
||||
userId,
|
||||
});
|
||||
const app = payload.app as { uid?: unknown } | undefined;
|
||||
const app = notification.app as { uid?: unknown } | undefined;
|
||||
this.clients.event.emit(
|
||||
'notif.written',
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user