-
Notifications
You must be signed in to change notification settings - Fork 37
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
Inspection view #1806
Conversation
a637f13
to
012163b
Compare
83f4775
to
95b9b4c
Compare
95b9b4c
to
42b3728
Compare
42b3728
to
1366129
Compare
frontend/src/components/Pages/MissionPage/InpectionView/InspectionView.tsx
Show resolved
Hide resolved
frontend/src/components/Pages/MissionPage/InpectionView/InspectionView.tsx
Show resolved
Hide resolved
frontend/src/components/Pages/MissionPage/InpectionView/InspectionView.tsx
Show resolved
Hide resolved
[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); |
There was a problem hiding this comment.
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
"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? |
There was a problem hiding this 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
This has been split into two other PRs |
No description provided.