Skip to content

Commit

Permalink
add status in review
Browse files Browse the repository at this point in the history
  • Loading branch information
xtatanx committed Jul 11, 2023
1 parent 7c64407 commit 596d523
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 3 additions & 1 deletion auction.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ const getCarModel = async (auctionId, page) => {
'color',
];

let carModel = {};
let carModel = {
status: 1,
};

const title = page.locator('.vehicle-header-summary__name');
await title.waitFor({
Expand Down
6 changes: 5 additions & 1 deletion data.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import { Firestore } from '@google-cloud/firestore';

const db = new Firestore({
projectId: 'auctions-388714',
projectId: process.env.FIRESTORE_PROJECT_ID,
credentials: {
client_email: process.env.FIRESTORE_CLIENT_EMAIL,
private_key: process.env.FIRESTORE_PRIVATE_KEY,
},
});

export async function addProcessedAuctions(cars) {
Expand Down

0 comments on commit 596d523

Please sign in to comment.