Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
jio_mebibou
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Alexandra Rogova
jio_mebibou
Commits
6fe1753a
Commit
6fe1753a
authored
Jan 23, 2019
by
Guillaume Royer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(erp5 storage): add Accept to headers to fix response error
parent
a09b0ce5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
src/jio.storage/erp5storage.js
src/jio.storage/erp5storage.js
+1
-0
No files found.
src/jio.storage/erp5storage.js
View file @
6fe1753a
...
...
@@ -42,6 +42,7 @@
if
(
options
.
headers
===
undefined
)
{
options
.
headers
=
{};
}
options
.
headers
.
Accept
=
"
*/*
"
;
options
.
headers
[
'
X-ACCESS-TOKEN
'
]
=
storage
.
_access_token
;
options
.
xhrFields
.
withCredentials
=
false
;
}
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment