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

Romanchuk/Achievements improvement #840

Merged
merged 1 commit into from
Sep 5, 2022

Conversation

alrom
Copy link
Contributor

@alrom alrom commented Sep 4, 2022

Constraints to achievement's controller were added

@alrom alrom added enhancement New feature or request backend Issue involves backend functionality labels Sep 4, 2022
@alrom alrom requested a review from a team September 4, 2022 21:00
@alrom alrom self-assigned this Sep 4, 2022
@sonarqubecloud
Copy link

sonarqubecloud bot commented Sep 4, 2022

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 4 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

catch (ArgumentException ex)
{
return BadRequest(ex.Message);
}
}

private async Task<bool> IsUserProvidersOwnerOrAdmin(Guid workshopId)
Copy link
Contributor

Choose a reason for hiding this comment

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

we have same method in some other controllers. Maybe create a base class so we don't ctrl+c/ctrl+v? :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

that method is different

@alrom alrom merged commit 4c589b6 into develop Sep 5, 2022
@alrom alrom deleted the Romanchuk/AchievementsImprovement branch September 5, 2022 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Issue involves backend functionality enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants