chore(server/notes): Removed redundant pSource call

This commit is contained in:
Taso authored and Taso committed 2021-03-16 16:24:27 -04:00
1 parent 78961b788f
commit 598bcd2eb3
1 file changed
-1
-1
View File
@@ -95,7 +95,6 @@ onNet(events.NOTE_UPDATE_NOTE, async (note: Note) => {
type: 'success',
});
} catch (e) {
const pSource = (global as any).source;
emitNet(events.NOTE_UPDATE_NOTE_FAILURE, pSource);
notesLogger.error(`Failed to update note, ${e.message}`, {
source: pSource,