mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Oups
This commit is contained in:
parent
68ea76ed1c
commit
c5a8a1111e
@ -12,7 +12,7 @@ using Microsoft.Extensions.Configuration;
|
||||
namespace Kyoo.CommonApi
|
||||
{
|
||||
[ApiController]
|
||||
public class CrudApi<T> : ControllerBase where T : IResource
|
||||
public class CrudApi<T> : ControllerBase where T : class, IResource
|
||||
{
|
||||
private readonly IRepository<T> _repository;
|
||||
private readonly string _baseURL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user