Use patch request and display message

This commit is contained in:
Cagatay Civici 2025-01-02 11:32:11 +03:00
parent 508b43937d
commit 88522af04d
2 changed files with 2 additions and 1 deletions

View file

@ -99,7 +99,7 @@ export default {
},
async saveTheme(theme) {
const { error } = await $fetch(this.designerApiBase + '/theme/update', {
method: 'POST',
method: 'PATCH',
headers: {
Authorization: `Bearer ${this.$appState.designer.ticket}`,
'X-License-Key': this.$appState.designer.licenseKey