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:
Fam Zheng 2024-12-19 21:50:44 +00:00
commit d07bf5b40d

View File

@ -79,7 +79,7 @@ export default {
if (this.create) {
await this.$root.api_post(this.uri, data);
} else {
await this.$root.api_put(this.uri, data);
await this.$root.api_patch(this.uri, data);
}
this.close(true);
} catch (e) {