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 view #1806

Closed
wants to merge 5 commits into from
Closed

Conversation

mrica-equinor
Copy link
Contributor

No description provided.

@mrica-equinor mrica-equinor marked this pull request as draft November 22, 2024 15:58
@mrica-equinor mrica-equinor force-pushed the inspection-view branch 2 times, most recently from a637f13 to 012163b Compare December 3, 2024 10:29
@mrica-equinor mrica-equinor marked this pull request as ready for review December 3, 2024 10:31
@mrica-equinor mrica-equinor force-pushed the inspection-view branch 2 times, most recently from 83f4775 to 95b9b4c Compare December 3, 2024 13:35
Comment on lines +25 to +37
[Route("{installationCode}/{taskId}/taskId")]
[ProducesResponseType(typeof(Inspection), StatusCodes.Status200OK)]
[ProducesResponseType(StatusCodes.Status400BadRequest)]
[ProducesResponseType(StatusCodes.Status409Conflict)]
[ProducesResponseType(StatusCodes.Status401Unauthorized)]
[ProducesResponseType(StatusCodes.Status403Forbidden)]
[ProducesResponseType(StatusCodes.Status500InternalServerError)]
public async Task<ActionResult<Inspection>> GetInspectionImageById([FromRoute] string installationCode, string taskId)
{
Inspection? inspection;
try
{
inspection = await inspectionService.ReadByIsarTaskId(taskId, readOnly: true);
Copy link
Contributor

Choose a reason for hiding this comment

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

If taskId is isarTaskId, maybe it should be represented in the name to make it more readable

@Eddasol
Copy link
Contributor

Eddasol commented Dec 11, 2024

"Refactor code" isn't a very good commit message and it seem to contain some fixes of earlier commits. Can it be squashed into the relevant commits?

Copy link
Contributor

@eivindsjovold eivindsjovold left a comment

Choose a reason for hiding this comment

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

Re-run snyk checks

@mrica-equinor
Copy link
Contributor Author

This has been split into two other PRs

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.

4 participants