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:
@ -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()
|
||||
|
Reference in New Issue
Block a user