mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
120 in printWidth since rocky got md
This commit is contained in:
1 parent
f552c1212c
commit
d27aeb3b0e
90 files changed
+398
-1146
No files matched your search
@@ -17,22 +17,10 @@ async function fetchAllListings(): Promise<MarketplaceListing[]> {
|
||||
return listings;
|
||||
}
|
||||
|
||||
async function addListing(
|
||||
identifier: string,
|
||||
name: string,
|
||||
number: any,
|
||||
listing: MarketplaceListing,
|
||||
): Promise<void> {
|
||||
async function addListing(identifier: string, name: string, number: any, listing: MarketplaceListing): Promise<void> {
|
||||
const query =
|
||||
'INSERT INTO npwd_sellout_listings (identifier, name, number, title, url, description) VALUES (?, ?, ?, ?, ?, ?)';
|
||||
await pool.query(query, [
|
||||
identifier,
|
||||
name,
|
||||
number,
|
||||
listing.title,
|
||||
listing.url,
|
||||
listing.description,
|
||||
]);
|
||||
await pool.query(query, [identifier, name, number, listing.title, listing.url, listing.description]);
|
||||
}
|
||||
|
||||
onNet(events.SELLOUT_FETCH_LISTING, async () => {
|
||||
|
||||
Reference in new issue
Block a user