mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-23 19:44:59 +03:00
typo
Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
parent
82ff1db45f
commit
de5d9bcf05
@ -35,7 +35,7 @@ export async function uploadFile(space: Ref<Space>, file: File, attachedTo: Ref<
|
||||
body: data
|
||||
})
|
||||
if (resp.status !== 200) {
|
||||
throw new Error('Can\t upload file.')
|
||||
throw new Error('Can\'t upload file.')
|
||||
}
|
||||
const uuid = await resp.text()
|
||||
console.log(uuid)
|
||||
|
Loading…
Reference in New Issue
Block a user