summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorWu Cheng-Han2017-01-12 19:04:17 +0800
committerWu Cheng-Han2017-01-12 19:04:17 +0800
commit5f65795e79561f7b787767b7c184f66b65f74c5f (patch)
tree3698105ac23b29c222382d9b73f265f4367baa93 /lib
parent7e191acbde048b4ce274d1dbe49fb63a627a3def (diff)
Fix permission order and keep wording consistency
Diffstat (limited to '')
-rw-r--r--lib/models/note.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/models/note.js b/lib/models/note.js
index a6921267..86112973 100644
--- a/lib/models/note.js
+++ b/lib/models/note.js
@@ -23,7 +23,7 @@ var logger = require("../logger.js");
var ot = require("../ot/index.js");
// permission types
-var permissionTypes = ["freely", "editable", "limited", "private", "protected", "locked"];
+var permissionTypes = ["freely", "editable", "limited", "locked", "protected", "private"];
module.exports = function (sequelize, DataTypes) {
var Note = sequelize.define("Note", {