feat(resources): remove all esx code, almost

This commit is contained in:
Christopher committed 2021-03-07 18:26:28 +01:00
1 parent 6b6080c4b2
commit c99d0780ae
12 files changed
+121 -84

No files matched your search

+2 -2
View File
@@ -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);