comparison client/src/components/usermanagement/Usermanagement.vue @ 5350:59db9836e29a extented-report

fixed mimetype in toggleReport
author Thomas Junk <thomas.junk@intevation.de>
date Tue, 22 Jun 2021 11:11:56 +0200
parents 45b03e8ca47e
children 4b367f7e39b4
comparison
equal deleted inserted replaced
5349:a352a695b69c 5350:59db9836e29a
226 reports: user.reports 226 reports: user.reports
227 }, 227 },
228 { 228 {
229 headers: { 229 headers: {
230 "X-Gemma-Auth": localStorage.getItem("token"), 230 "X-Gemma-Auth": localStorage.getItem("token"),
231 "Content-type": "text/xml; charset=UTF-8" 231 "Content-type": "application/json; charset=UTF-8"
232 } 232 }
233 } 233 }
234 ) 234 )
235 .then(() => { 235 .then(() => {
236 Vue.set(this.currentUser, "reports", user.reports); 236 Vue.set(this.currentUser, "reports", user.reports);