зеркало из https://github.com/nextcloud/text.git
Merge pull request #241 from nextcloud/bugfix/json
Make sure axios is not transforming the response of the file fetch to json
This commit is contained in:
Коммит
c225cca4bd
|
@ -132,6 +132,7 @@ class SyncService {
|
|||
_fetchDocument() {
|
||||
return axios.get(
|
||||
endpointUrl('session/fetch', !!this.options.shareToken), {
|
||||
transformResponse: [(data) => data],
|
||||
params: {
|
||||
documentId: this.document.id,
|
||||
sessionId: this.session.id,
|
||||
|
|
Загрузка…
Ссылка в новой задаче