Merge branch 'main' into feat/consulta-publica-pedido

This commit is contained in:
2026-08-09 23:53:33 -05:00
13 changed files with 543 additions and 27 deletions

View File

@@ -160,6 +160,18 @@ class DjangoApi {
const url = this.base + `/don_confiao/api/catalogue_images/${id}/`;
return http.delete(url).then((r) => r.data);
}
getStoreSettings() {
const url = this.base + "/don_confiao/api/store_settings";
return this.getRequest(url);
}
updateStoreSettings(data) {
const url = this.base + "/don_confiao/api/store_settings";
return http.patch(url, data, {
headers: { 'Content-Type': undefined },
}).then((r) => r.data);
}
}
export default DjangoApi;