Update skylink property in response
This commit is contained in:
parent
d6a8b39445
commit
fa16b45e83
|
@ -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 => {
|
||||
|
|
Reference in New Issue