mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
tweak(notes/client|server): change to sending an object to NUI
This commit is contained in:
1 parent
b4258718d8
commit
d9b26814dd
3 files changed
+6
-4
No files matched your search
@@ -33,7 +33,7 @@ onNet(events.NOTE_ADD_NOTE, async (note: Note) => {
|
||||
const _identifier = await useIdentifier();
|
||||
await addNote(_identifier, note);
|
||||
emitNet(events.NOTE_SEND_NOTE_SUCCESS, pSource);
|
||||
emitNet(events.NOTE_ACTION_RESULT, pSource, 'NOTES_ADD_SUCCESS')
|
||||
emitNet(events.NOTE_ACTION_RESULT, pSource, { message: 'NOTES_ADD_SUCCESS', type: 'success' })
|
||||
|
||||
} catch (error) {
|
||||
const pSource = (global as any).source
|
||||
|
||||
Reference in new issue
Block a user