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

Inspection Controller endpoint returns wrong type of response #1976

Open
mrica-equinor opened this issue Jan 24, 2025 · 1 comment
Open

Inspection Controller endpoint returns wrong type of response #1976

mrica-equinor opened this issue Jan 24, 2025 · 1 comment
Labels
improvement Improvement to existing functionality

Comments

@mrica-equinor
Copy link
Contributor

Describe the improvement you would like to see
Currently in the inspection controller, the endpoint we use to fetch the inspection image specefies that the return type is Inspection, however this is not true, it returns a file (png or jpeg).

Image

How will this change existing functionality?
The current code has been working well for some reason, but it should be changed for the correct type.

How will this improvement affect the current Threat Model?
Nothing.

@mrica-equinor mrica-equinor added the improvement Improvement to existing functionality label Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvement to existing functionality
Projects
None yet
Development

No branches or pull requests

2 participants