mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-05 06:28:51 +00:00
cleanup(sellout/server): rid of logs
This commit is contained in:
1 parent
2d94b5ec8c
commit
e31c42766e
1 file changed
-4
@@ -36,8 +36,6 @@ async function addListing(identifier: string, name: string, number: any, listing
|
|||||||
|
|
||||||
onNet(events.SELLOUT_FETCH_LISTING, async () => {
|
onNet(events.SELLOUT_FETCH_LISTING, async () => {
|
||||||
try {
|
try {
|
||||||
console.log("Fetching all listings")
|
|
||||||
|
|
||||||
const _source = (global as any).source;
|
const _source = (global as any).source;
|
||||||
const listings = await fetchAllListings();
|
const listings = await fetchAllListings();
|
||||||
emitNet(events.SELLOUT_SEND_LISTING, _source, listings)
|
emitNet(events.SELLOUT_SEND_LISTING, _source, listings)
|
||||||
@@ -54,8 +52,6 @@ onNet(events.SELLOUT_ADD_LISTING, async (listing: Listing) => {
|
|||||||
const name = xPlayer.getName()
|
const name = xPlayer.getName()
|
||||||
|
|
||||||
const phoneNumber = await usePhoneNumber(_identifier)
|
const phoneNumber = await usePhoneNumber(_identifier)
|
||||||
console.log(phoneNumber)
|
|
||||||
const number = "3333333"
|
|
||||||
addListing(_identifier, name, phoneNumber, listing)
|
addListing(_identifier, name, phoneNumber, listing)
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log("Failed to add contact: ", error)
|
console.log("Failed to add contact: ", error)
|
||||||
|
|||||||
Reference in new issue
Block a user