mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Basic posting done
Except hidden text, layout and sensitive attachments
This commit is contained in:
@ -41,8 +41,9 @@ const client = async ({
|
||||
// } catch (error) {
|
||||
// return Promise.reject('ky error: ' + error.json())
|
||||
// }
|
||||
|
||||
console.log('upload done')
|
||||
if (response.ok) {
|
||||
console.log('returning ok')
|
||||
return Promise.resolve({
|
||||
headers: response.headers,
|
||||
body: await response.json()
|
||||
|
Reference in New Issue
Block a user