Commit 38930628 authored by Jasper Verbeet's avatar Jasper Verbeet 🙇🏻


parent 15b943e5
......@@ -160,6 +160,8 @@'/api/accept', (req, res) => {
return res.json({result: 'supply a `state` in the json body'});
if (getDbItem('status') === 0) {
setDbItem('status', state);
console.log(`${new Date().toLocaleString()} Updated status: ${state}`));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment