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

revert: redirect to nftstorage #312

Merged
merged 2 commits into from
Jun 22, 2024
Merged

Conversation

preschian
Copy link
Member

@preschian preschian commented Jun 20, 2024

Context

Revert: #311

PR Type

  • Bugfix
  • Feature
  • Refactoring
  • Chore

@preschian preschian marked this pull request as ready for review June 21, 2024 07:11
hassnian
hassnian previously approved these changes Jun 21, 2024
@hassnian hassnian dismissed their stale review June 21, 2024 09:07

comment

Comment on lines +144 to +146
if (newObject !== null) {
return renderR2Object(newObject, newObject?.httpMetadata?.contentType)
}
Copy link
Contributor

@hassnian hassnian Jun 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what if it's null , the endpoint has no return ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The worker will return 500 "internal server error". like this one: #281 (comment)

@vikiival vikiival merged commit f674f89 into main Jun 22, 2024
3 checks passed
@vikiival vikiival deleted the revert--dont-redirect-to-nftstorage branch June 22, 2024 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants