parent
5970699061
commit
bb1e668e10
1 changed files with 2 additions and 0 deletions
|
@ -17,9 +17,11 @@ module.exports = async function (authorID, timerID) {
|
|||
if (err) {
|
||||
console.error(err);
|
||||
sendText = "Updating timers failed. Check console.";
|
||||
reject(sendText);
|
||||
}
|
||||
else {
|
||||
sendText = `Timer with ID:${timerID} deleted.`;
|
||||
resolve(sendText);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue