Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

createSignedUrls response does not match type #169

Open
2 tasks done
bombillazo opened this issue Jul 5, 2023 · 2 comments
Open
2 tasks done

createSignedUrls response does not match type #169

bombillazo opened this issue Jul 5, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@bombillazo
Copy link
Contributor

Bug report

  • I confirm this is a bug with Supabase, not with my own application.
  • I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug

The response for the createSignedUrls data is not the same as the actual data returned by the function.

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

Call the createSignedUrls function and compare with the typed data.

Expected behavior

Consistency between response data and type.

Screenshots

Response type:
image

Actual Data:

[
  {
    error: null,
    signedURL: "/object/sign/public/users/05e60ccc-f249-41fa-a358-38d6a9c36e74/file.txt?token=eyJhbGciOiJIUzI1NiIsIn...",
    signedUrl: "http://supabase_kong_hyperion-app:8000/storage/v1/object/sign/public/users/05e60ccc-f249-41fa-a358-3..."
  },
  {
    error: null,
    signedURL: "/object/sign/public/users/05e60ccc-f249-41fa-a358-38d6a9c36e74/file(1).txt?token=eyJhbGciOiJIUzI1NiI...",
    signedUrl: "http://supabase_kong_hyperion-app:8000/storage/v1/object/sign/public/users/05e60ccc-f249-41fa-a358-3..."
  }
]

System information

  • Version of supabase-js: 2.26.0
@bombillazo bombillazo added the bug Something isn't working label Jul 5, 2023
@bombillazo
Copy link
Contributor Author

any update on this issue?

@bombillazo
Copy link
Contributor Author

Update?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant