diff --git a/src/lib/apis/1_2.js b/src/lib/apis/1_2.js index 4a5267679..dd7f6e0b2 100644 --- a/src/lib/apis/1_2.js +++ b/src/lib/apis/1_2.js @@ -5029,7 +5029,7 @@ api.snapshot.prototype.create = ca({ } } }, - method: 'POST' + method: 'PUT' }); /** @@ -5515,4 +5515,4 @@ api.create = ca.proxy(api.index, { transform: function (params) { params.op_type = 'create'; } -}); \ No newline at end of file +}); diff --git a/src/lib/apis/1_x.js b/src/lib/apis/1_x.js index e1d66b204..19d89d475 100644 --- a/src/lib/apis/1_x.js +++ b/src/lib/apis/1_x.js @@ -5070,7 +5070,7 @@ api.snapshot.prototype.create = ca({ } } }, - method: 'POST' + method: 'PUT' }); /** @@ -5556,4 +5556,4 @@ api.create = ca.proxy(api.index, { transform: function (params) { params.op_type = 'create'; } -}); \ No newline at end of file +});