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