Adding polls as patchable.

This commit is contained in:
Nick Winter 2015-03-09 11:48:13 -07:00
parent e58734894a
commit 54f55b1f9d

View file

@ -1,6 +1,6 @@
c = require './../schemas'
patchables = ['level', 'thang_type', 'level_system', 'level_component', 'article', 'achievement', 'campaign']
patchables = ['level', 'thang_type', 'level_system', 'level_component', 'article', 'achievement', 'campaign', 'poll']
PatchSchema = c.object({title: 'Patch', required: ['target', 'delta', 'commitMessage']}, {
delta: {title: 'Delta', type: ['array', 'object']}