Merge branch 'develop' into 'xenofem/pleroma-fe-rebased-image-description-authoring'
# Conflicts: # src/components/post_status_form/post_status_form.js
This commit is contained in:
commit
0fe5d4cf10
1 changed files with 2 additions and 2 deletions
|
@ -25,10 +25,10 @@ const preloadFetch = async (request) => {
|
||||||
if (!data || !data[request]) {
|
if (!data || !data[request]) {
|
||||||
return window.fetch(request)
|
return window.fetch(request)
|
||||||
}
|
}
|
||||||
const requestData = atob(data[request])
|
const requestData = JSON.parse(atob(data[request]))
|
||||||
return {
|
return {
|
||||||
ok: true,
|
ok: true,
|
||||||
json: () => JSON.parse(requestData),
|
json: () => requestData,
|
||||||
text: () => requestData
|
text: () => requestData
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue