refactor routes

This commit is contained in:
Pete Matsyburka committed 2026-09-26 11:25:21 +03:00
1 parent 20ec614d3a
commit ca7b9671f2
19 files changed
+173 -43

No files matched your search

+2 -1
View File
@@ -87,7 +87,7 @@ export default {
IconCloudUpload,
IconInnerShadowTop
},
inject: ['baseUrl', 't'],
inject: ['baseUrl', 'fetchOptions', 't'],
props: {
message: {
type: String,
@@ -199,6 +199,7 @@ export default {
return fetch(this.baseUrl + '/api/attachments', {
method: 'POST',
headers: { ...this.fetchOptions.headers },
body: formData
}).then(async (resp) => {
const data = await resp.json()