mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
updated for PR feedback
This commit is contained in:
1 parent
8009c073db
commit
048275212a
2 files changed
+1
-3
No files matched your search
@@ -32,7 +32,6 @@ async function addContact(
|
||||
"INSERT INTO npwd_phone_contacts (identifier, number, display, avatar) VALUES (?, ?, ?, ?)";
|
||||
|
||||
const [result] = await pool.query(query, [identifier, number, display, avatar]);
|
||||
console.log(result);
|
||||
}
|
||||
|
||||
async function updateContact(contact: Contacts, identifier: string): Promise<any> {
|
||||
@@ -71,7 +70,6 @@ onNet(events.CONTACTS_ADD_CONTACT, async (number: string, display: string, avata
|
||||
try {
|
||||
const _source = (global as any).source;
|
||||
const _identifier = await useIdentifier()
|
||||
console.log(number, display);
|
||||
addContact(_identifier, number, display, avatar);
|
||||
emitNet(events.CONTACTS_ADD_CONTACT_SUCCESS, _source)
|
||||
|
||||
|
||||
Reference in new issue
Block a user