Skip to content

Commit

Permalink
remove asCallback
Browse files Browse the repository at this point in the history
  • Loading branch information
howardchung committed Dec 2, 2023
1 parent c463907 commit 18373f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion store/getGcData.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ async function getGcDataFromRetriever(match) {
await db.raw(
'UPDATE matches SET series_id = ?, series_type = ? WHERE match_id = ?',
[matchToInsert.series_id, matchToInsert.series_type, match.match_id]
).asCallback(cb);
);
// Persist GC data to database
await upsertPromise(db, 'match_gcdata', gcdata, {
match_id: match.match_id,
Expand Down

0 comments on commit 18373f5

Please sign in to comment.