Skip to content

Commit

Permalink
Merge pull request #61 from hussein4alaa/3.1.10
Browse files Browse the repository at this point in the history
fix response json in post method
  • Loading branch information
hussein4alaa authored Jul 11, 2024
2 parents 39fac68 + 57eff31 commit 471d382
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/views/documentation.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,14 +177,14 @@ function changeTheme(theme) {
],
layout: 'StandaloneLayout',
requestInterceptor: (request) => {
request.headers['content-type'] = 'application/json';
request.headers['Content-Type'] = 'application/json';
request.headers['accept'] = 'application/json';
return request;
},
responseInterceptor: (request) => {
request.headers['content-type'] = 'application/json';
request.headers['accept'] = 'application/json';
return request;
responseInterceptor: (response) => {
response.headers['Content-Type'] = 'application/json';
response.headers['accept'] = 'application/json';
return response;
}
});
};
Expand Down

0 comments on commit 471d382

Please sign in to comment.