-
npm run build will result in a Type error. It's my environment. |
Beta Was this translation helpful? Give feedback.
Answered by
inian
Apr 15, 2021
Replies: 1 comment 4 replies
-
Hi @ru88s, yes this was a error in types and I have just pushed out a fix. Can you try with supabase-js v1.11.4? const { data, error, signedURL } = await supabase.storage.from("images").createSignedURL("cat.png", 60)
// you can use either of the following
console.log(data.signedURL);
console.log(signedURL); |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
ru88s
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @ru88s, yes this was a error in types and I have just pushed out a fix. Can you try with supabase-js v1.11.4?
Also from your last discussion, it looked cleaner to access the signedURL from outside data too. So now you can do