Skip to content

Commit

Permalink
fixed assignment to constant variable issue. Bumped version
Browse files Browse the repository at this point in the history
  • Loading branch information
Mattk70 committed Sep 26, 2024
1 parent 745e172 commit 98c75f2
Show file tree
Hide file tree
Showing 3 changed files with 3,431 additions and 3 deletions.
3 changes: 1 addition & 2 deletions js/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -3104,8 +3104,7 @@ const onUpdateFileStart = async (args) => {
}
const isDaylight = isDuringDaylight(row.dateTime, lat, lon) ? 1 : 0;
// Update the isDaylight column for this record
const result = await db.runAsync('UPDATE records SET isDaylight = ? WHERE isDaylight != ? AND rowid = ?', isDaylight, isDaylight, row.rowid);
changes += result.changes
await db.runAsync('UPDATE records SET isDaylight = ? WHERE isDaylight != ? AND rowid = ?', isDaylight, isDaylight, row.rowid);
}, async (err, count) => {
if (err) {
throw err;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chirpity",
"version": "1.12.1",
"version": "1.12.2",
"description": "Chirpity Nocmig",
"main": "main.js",
"scripts": {
Expand Down
Loading

0 comments on commit 98c75f2

Please sign in to comment.