Merge branch 'fix-tenant-disconnection' into 'main'
generic-edit-modal: Use PATCH instead of PUT when edit See merge request euphon/themblem!2
This commit is contained in:
commit
d07bf5b40d
@ -79,7 +79,7 @@ export default {
|
|||||||
if (this.create) {
|
if (this.create) {
|
||||||
await this.$root.api_post(this.uri, data);
|
await this.$root.api_post(this.uri, data);
|
||||||
} else {
|
} else {
|
||||||
await this.$root.api_put(this.uri, data);
|
await this.$root.api_patch(this.uri, data);
|
||||||
}
|
}
|
||||||
this.close(true);
|
this.close(true);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user