diff --git a/API/Backend/Draw/routes/draw.js b/API/Backend/Draw/routes/draw.js index 7d1e6dd6..9e3fb255 100644 --- a/API/Backend/Draw/routes/draw.js +++ b/API/Backend/Draw/routes/draw.js @@ -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; @@ -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;