Skip to content

Commit

Permalink
Merge pull request #98 from SilverCareOrg/stefan
Browse files Browse the repository at this point in the history
Solved article types bug
  • Loading branch information
avramstefan authored Mar 11, 2024
2 parents 3be2953 + d60147e commit 2eef3bf
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/components/ArticlesOption.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@ const ArticlesOption = ({ topPx }) => {
axios_api
.get("/get_articles_types", {
withCredentials: true,
headers: {
// 'X-CSRFToken': `${localStorage.getItem('csrftoken')}`, // Set the CSRF token in the request headers
Authorization: `Bearer ${localStorage.getItem("token")}`,
"Content-Type":
"multipart/form-data; boundary=----WebKitFormBoundaryEXAMPLE",
},
})
.then((response) => {
// Handle the response
Expand Down

0 comments on commit 2eef3bf

Please sign in to comment.