Fixing sonar code quality recommendations
This commit is contained in:
parent
4f93fef661
commit
2d066ea36c
5 changed files with 7 additions and 18 deletions
|
@ -30,7 +30,6 @@ namespace API.Controllers
|
|||
{
|
||||
// NOTE: I think we should move this into library controller because it gets added to all admins
|
||||
|
||||
//_logger.Log(LogLevel.Debug, "Creating a new " + createLibraryDto.Type + " library");
|
||||
var user = await _userRepository.GetUserByUsernameAsync(User.GetUsername());
|
||||
|
||||
if (user == null) return BadRequest("Could not validate user");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue