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 () => { ...@@ -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.
Finish editing this message first!
Please register or to comment