Skip to content

Conversation

@Lungsangg
Copy link
Member

No description provided.

return await get_url_link_service(pecha_segment_id) No newline at end of file
async def get_url_link(pecha_segment_id: str) -> SegmentLinkResponse:
result = await get_url_link_service(pecha_segment_id)
if result is None:
Copy link
Contributor

Choose a reason for hiding this comment

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

exception should be thrown from the service and not from the view/controller

Copy link
Member Author

Choose a reason for hiding this comment

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

done

@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
B Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

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