Fixed warnings in code
This commit is contained in:
parent
c429c50ba2
commit
fa71a40990
8 changed files with 5 additions and 16 deletions
|
|
@ -1,6 +1,5 @@
|
|||
using System.Threading.Tasks;
|
||||
using API.Entities;
|
||||
using API.Interfaces;
|
||||
using Microsoft.AspNetCore.Identity;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using API.Data;
|
||||
using API.DTOs;
|
||||
using API.Entities;
|
||||
using API.Extensions;
|
||||
|
|
@ -39,7 +38,6 @@ namespace API.Controllers
|
|||
return BadRequest("Library name already exists. Please choose a unique name to the server.");
|
||||
}
|
||||
|
||||
// TODO: We probably need to normalize the folders before we insert
|
||||
var library = new Library
|
||||
{
|
||||
Name = createLibraryDto.Name.ToLower(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue