client/src/APIClient.js
changeset 53 d8588379529e
parent 51 08d46c730397
child 56 96543c395baa
--- a/client/src/APIClient.js	Mon Jun 19 15:36:52 2017 +0200
+++ b/client/src/APIClient.js	Mon Jun 19 17:56:41 2017 +0200
@@ -31,8 +31,7 @@
 
     var headers = new Headers(),
         token = localStorage.getItem('token') || '';
-    headers.append("Authorization", "Bearer " + token);
-    headers.append("Content-Type", "application/json");
+    headers.append("Authorization", "JWT " + token);
 
     return this.createRequest(method, uri, data, headers);
   }