Skip to content

Commit

Permalink
Fix sql_before
Browse files Browse the repository at this point in the history
  • Loading branch information
francojreyes committed Oct 16, 2024
1 parent 726cae6 commit 1f5b8d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcal/src/libraryScraper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ const runScrapeJob = async () => {
// overwrite all outdated lib rooms
sql_before:
"DELETE FROM Rooms WHERE \"usage\" = 'LIB' " +
`AND "id" NOT IN (${allRooms
`AND "id" NOT IN (${[...allRooms, { id: "DUMMY" }]
.map((room) => `'${room.id}'`)
.join(",")});`,
write_mode: "append",
Expand Down

0 comments on commit 1f5b8d8

Please sign in to comment.