mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
Prettified Code!
This commit is contained in:
1 parent
c35b5f2b84
commit
c12b0ba126
2 files changed
-18
No files matched your search
@@ -109,26 +109,16 @@ onNet(events.CONTACTS_UPDATE_CONTACT, async (contact: Contacts) => {
|
||||
|
||||
emitNet(
|
||||
events.CONTACTS_ACTION_RESULT,
|
||||
<<<<<<< HEAD
|
||||
getSource(),
|
||||
'CONTACT_UPDATE_SUCCESS'
|
||||
=======
|
||||
_source,
|
||||
"CONTACT_UPDATE_SUCCESS"
|
||||
>>>>>>> 76aee07 (fix(contacts/client|server): fixed source for updating contacts)
|
||||
);
|
||||
console.log("UPDATED CONTACT: ", contact);
|
||||
} catch (error) {
|
||||
const _source = (global as any).source;
|
||||
emitNet(
|
||||
events.CONTACTS_ACTION_RESULT,
|
||||
<<<<<<< HEAD
|
||||
getSource(),
|
||||
'CONTACT_UPDATE_FAILED'
|
||||
=======
|
||||
_source,
|
||||
"CONTACT_UPDATE_FAILED"
|
||||
>>>>>>> 76aee07 (fix(contacts/client|server): fixed source for updating contacts)
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user