Tons of fixes to prepare for staged releases.

This commit is contained in:
Max committed 2026-10-28 10:11:40 -07:00
1 parent 9f37d3faf1
commit 5bebe072b2
24 files changed
+1110 -474

No files matched your search

+1 -1
View File
@@ -75,7 +75,7 @@ ShareNote.addUserToSharedNote = (userId, noteId, shareUserId, masterKey) => {
const sharedUserNoteId = rows[0]['insertId']
//Emit update count event to user shared with - so they see the note in real time
SocketIo.to(shareUserId).emit('update_counts')
SocketIo.to(`user:${shareUserId}`).emit('update_counts')
let success = true
return resolve({success, shareUserId, sharedUserNoteId})