fix(syncback-category-task): Correct request path when updating

This commit is contained in:
Juan Tejada 2016-01-28 16:25:17 -08:00
parent 0c3ca4b6e4
commit 5eca866b43

View file

@ -44,6 +44,7 @@ module.exports = class SyncbackCategoryTask extends Task
if @category.serverId
method = 'PUT'
path += "/#{@category.serverId}"
else
method = 'POST'