mirror of https://github.com/status-im/codimd.git
Fix syntax when use case
This commit is contained in:
parent
89b8ddeaba
commit
be7696170f
|
@ -618,7 +618,7 @@ function ifMayEdit(socket, callback) {
|
|||
case "freely":
|
||||
//not blocking anyone
|
||||
break;
|
||||
case "editable": case: "limited":
|
||||
case "editable": case "limited":
|
||||
//only login user can change
|
||||
if (!socket.request.user || !socket.request.user.logged_in)
|
||||
mayEdit = false;
|
||||
|
|
Loading…
Reference in New Issue