Skip to content
Snippets Groups Projects
Commit bec66f39 authored by Raphael Sturm's avatar Raphael Sturm
Browse files

change to barear

parent 6249e116
No related branches found
No related tags found
No related merge requests found
...@@ -290,13 +290,8 @@ const postNotificationSettings = async () => { ...@@ -290,13 +290,8 @@ const postNotificationSettings = async () => {
method: 'post', method: 'post',
url: `${notificationBaseUrl}/catalogue/${catalogId}/setting`, url: `${notificationBaseUrl}/catalogue/${catalogId}/setting`,
headers: { headers: {
'Authorization': apiKey, Authorization: `Bearer ${token.value}`,
'Accept': 'application/json', },
'Content-Type': 'application/json',
'Access-Control-Allow-Origin': '*',
'Access-Control-Allow-Methods': 'GET, POST, OPTIONS',
'Access-Control-Allow-Headers': 'Authorization'
},
withCredentials: true, withCredentials: true,
data: JSON.stringify({ data: JSON.stringify({
receiverEmailList: mailList.value, receiverEmailList: mailList.value,
...@@ -340,13 +335,8 @@ const postDeactive = async () => { ...@@ -340,13 +335,8 @@ const postDeactive = async () => {
method: 'post', method: 'post',
url: `${notificationBaseUrl}/catalogue/${catalogId}/setting`, url: `${notificationBaseUrl}/catalogue/${catalogId}/setting`,
headers: { headers: {
'Authorization': apiKey, Authorization: `Bearer ${token.value}`,
'Accept': 'application/json', },
'Content-Type': 'application/json',
'Access-Control-Allow-Origin': '*',
'Access-Control-Allow-Methods': 'GET, POST, OPTIONS',
'Access-Control-Allow-Headers': 'Authorization'
},
withCredentials: true, withCredentials: true,
data: JSON.stringify({ data: JSON.stringify({
activeStatus: active.value activeStatus: active.value
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment