Merge pull request #155 from project-error/tweak/remove-esx-code

feat(standalone): Allows for the phone to be free from framework requirements
This commit is contained in:
Taso authored and GitHub committed 2021-03-10 21:50:55 -05:00
commit b8ef6b1695
15 files changed
+349 -146

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) {
@@ -86,7 +86,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);