mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
feat(resources): remove all esx code, almost
This commit is contained in:
1 parent
6b6080c4b2
commit
c99d0780ae
12 files changed
+121
-84
No files matched your search
@@ -51,7 +51,7 @@ onNet(events.NOTE_ADD_NOTE, async (note: Note) => {
|
||||
onNet(events.NOTE_FETCH_ALL_NOTES, async () => {
|
||||
const pSource = getSource();
|
||||
try {
|
||||
const _identifier = await getIdentifier(pSource);
|
||||
const _identifier = getIdentifier(pSource);
|
||||
const notes = await fetchAllNotes(_identifier);
|
||||
emitNet(events.NOTE_SEND_NOTE, pSource, notes);
|
||||
} catch (e) {
|
||||
@@ -84,7 +84,7 @@ onNet(events.NOTE_DELETE_NOTE, async (noteId: NoteId) => {
|
||||
onNet(events.NOTE_UPDATE_NOTE, async (note: Note) => {
|
||||
const pSource = getSource();
|
||||
try {
|
||||
const _identifier = await getIdentifier(pSource);
|
||||
const _identifier = getIdentifier(pSource);
|
||||
await updateNote(note, _identifier);
|
||||
emitNet(events.NOTE_UPDATE_NOTE_SUCCESS, pSource);
|
||||
|
||||
|
||||
Reference in new issue
Block a user