1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

A lot of updates

This commit is contained in:
Zhiyuan Zheng
2020-11-28 17:07:30 +01:00
parent 8200375c92
commit 735cc0b903
29 changed files with 940 additions and 1275 deletions

View File

@ -45,9 +45,8 @@ const client = async ({
// } catch (error) {
// return Promise.reject('ky error: ' + error.json())
// }
console.log('upload done')
if (response?.ok) {
console.log('returning ok')
console.log('Query: /' + endpoint)
if (response.ok) {
return Promise.resolve({
headers: response.headers,
body: await response.json()