mirror of
https://github.com/zoriya/Kyoo.git
synced 2026-05-13 10:52:28 -04:00
Oups
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user