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

[TM-997] Fix: Ensure "record.uuid" is safely accessed in getSiteBbox function #275

Merged

Conversation

LimberHope
Copy link
Collaborator

@LimberHope LimberHope commented Jun 24, 2024

Task Link TM-997
Task Link TM-988

Copy link

vercel bot commented Jun 24, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
wri-terramatch-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 24, 2024 7:07pm
wri-terramatch-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 24, 2024 7:07pm

Copy link
Collaborator

@roguenet roguenet left a comment

Choose a reason for hiding this comment

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

If the record doesn't exist, won't this API response not be useful? It seems like this should also have an enabled flag

{
  pathParams: { record?.uuid },
},
{
  enabled: record?.uuid != null
}

@LimberHope LimberHope merged commit 460e29a into staging Jun 24, 2024
4 checks passed
@LimberHope LimberHope deleted the TM-997-application-error-on-project-stablishment-form branch June 28, 2024 21:11
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.

2 participants