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

Merge branch 'ppe-testing-mqa-fix' into 'master'

change to barear

See merge request piveau/ui/piveau-ui!210
parents 6249e116 bec66f39
No related branches found
No related tags found
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