forked from sanchezvem/PyroFetes
Correction des routes d'api
This commit is contained in:
@@ -13,7 +13,7 @@ public class GetMaterialEndpoint(PyroFetesDbContext pyrofetesdbcontext) : Endpoi
|
||||
{
|
||||
public override void Configure()
|
||||
{
|
||||
Get("/material/{@id}", x => new { x.Id });
|
||||
Get("Api/materials/{@id}", x => new { x.Id });
|
||||
AllowAnonymous();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user