Skip to content

Commit

Permalink
#634 Fix empty Draw over/under history list SQL replacements (#635)
Browse files Browse the repository at this point in the history
  • Loading branch information
tariqksoliman authored Mar 3, 2025
1 parent bc6b1f3 commit 2e3d82b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions API/Backend/Draw/routes/draw.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ const clipOver = function (
historyIndex: lastHistory[0].history_id + 1,
history: lastHistory[0].history,
};
} else return { historyIndex: 0, history: [] };
} else return { historyIndex: 0, history: null };
})
.then((historyObj) => {
let history = historyObj.history;
Expand Down Expand Up @@ -335,7 +335,7 @@ const clipUnder = function (
historyIndex: lastHistory[0].history_id + 1,
history: lastHistory[0].history,
};
} else return { historyIndex: 0, history: [] };
} else return { historyIndex: 0, history: null };
})
.then((historyObj) => {
let history = historyObj.history;
Expand Down

0 comments on commit 2e3d82b

Please sign in to comment.