mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-03-03 19:43:04 +08:00
fix(syncback-category-task): Correct request path when updating
This commit is contained in:
parent
0c3ca4b6e4
commit
5eca866b43
1 changed files with 1 additions and 0 deletions
|
@ -44,6 +44,7 @@ module.exports = class SyncbackCategoryTask extends Task
|
|||
|
||||
if @category.serverId
|
||||
method = 'PUT'
|
||||
path += "/#{@category.serverId}"
|
||||
else
|
||||
method = 'POST'
|
||||
|
||||
|
|
Loading…
Reference in a new issue