mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
[fix] Cherry pick conflict merge error
This commit is contained in:
parent
5b6a1cdd74
commit
0413c070f7
1 changed files with 5 additions and 0 deletions
|
@ -99,6 +99,11 @@ export default {
|
||||||
options = { ...options, method, body: objectToParams(data, { addLocale: true }, true) }
|
options = { ...options, method, body: objectToParams(data, { addLocale: true }, true) }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const response = await fetch('/yunohost/api/' + uri, options)
|
||||||
|
const responseData = await getResponseData(response)
|
||||||
|
store.dispatch('END_REQUEST', { request, success: response.ok, wait })
|
||||||
|
|
||||||
|
return response.ok ? responseData : handleError(request, response, responseData)
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue