mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-05 06:28:51 +00:00
chore(server/notes): Removed redundant pSource call
This commit is contained in:
1 parent
78961b788f
commit
598bcd2eb3
1 file changed
-1
@@ -95,7 +95,6 @@ onNet(events.NOTE_UPDATE_NOTE, async (note: Note) => {
|
|||||||
type: 'success',
|
type: 'success',
|
||||||
});
|
});
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
const pSource = (global as any).source;
|
|
||||||
emitNet(events.NOTE_UPDATE_NOTE_FAILURE, pSource);
|
emitNet(events.NOTE_UPDATE_NOTE_FAILURE, pSource);
|
||||||
notesLogger.error(`Failed to update note, ${e.message}`, {
|
notesLogger.error(`Failed to update note, ${e.message}`, {
|
||||||
source: pSource,
|
source: pSource,
|
||||||
|
|||||||
Reference in new issue
Block a user