Use PUT method instead of PATCH
authorFrank Bessou <frank.bessou@logilab.fr>
Fri, 19 May 2017 09:52:15 +0200
changeset 214 d6b4dfb58e1d
parent 213 0f0820dd5631
child 215 bdde73b3869e
Use PUT method instead of PATCH
src/services/hypermedia.js
--- a/src/services/hypermedia.js	Thu May 18 10:33:38 2017 +0200
+++ b/src/services/hypermedia.js	Fri May 19 09:52:15 2017 +0200
@@ -121,7 +121,7 @@
 
     updateResource(url, data) {
         const options = {
-            method: 'PATCH',
+            method: 'PUT',
             headers: {
                 'Content-Type': 'application/json',
             },