Skip to content

Commit e1356dc

Browse files
committed
fixup! Add page deletion function
1 parent 27ccddf commit e1356dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server-websocket.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ router.post('/deletePage', (req, res) => {
105105
res.end(JSON.stringify({ status: 'SUCCESS', msg: `Delete ${room}` }));
106106
}, (ex) => {
107107
console.error(ex);
108-
res.end(JSON.stringify({ status: 'FAILURE', msg: 'Y instance destroy error' }));
108+
res.end(JSON.stringify({ status: 'FAILURE', msg: 'Failed to delete database' }));
109109
});
110110
});
111111

0 commit comments

Comments
 (0)