Update skylink property in response

This commit is contained in:
PJ 2020-01-28 11:47:32 +01:00
parent d6a8b39445
commit fa16b45e83
1 changed files with 3 additions and 3 deletions

View File

@ -35,9 +35,9 @@ function MyDropzone() {
.then(res => {
return res.json()
})
.then(({ sialink }) => {
console.log("WE OUT HERE BOYS", sialink)
setLink(`sia://${sialink}`)
.then(({ skylink }) => {
console.log("WE OUT HERE BOYS", skylink)
setLink(`sia://${skylink}`)
setLoading(false)
})
.catch(e => {