diff options
Diffstat (limited to 'models')
-rw-r--r-- | models/lists.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/models/lists.js b/models/lists.js index 80accefb..837af73c 100644 --- a/models/lists.js +++ b/models/lists.js @@ -42,7 +42,6 @@ Lists.attachSchema(new SimpleSchema({ } }, }, - wipLimit: { type: SimpleSchema.Integer, optional: true, @@ -91,6 +90,10 @@ Lists.mutations({ restore() { return { $set: { archived: false } }; }, + + setWipLimit(limit) { + return { $set: { wipLimit: limit } }; + }, }); Lists.hookOptions.after.update = { fetchPrevious: false }; |