forked from sanchezvem/PyroFetes
MAJ Coquille
This commit is contained in:
@@ -14,7 +14,7 @@ public class DeleteWarehouseEndpoint(PyroFetesDbContext db) : Endpoint<DeleteWar
|
||||
public override void Configure()
|
||||
{
|
||||
// L’annotation correcte du paramètre est {id}, pas {@id}
|
||||
Delete("/api/warehouse/{id}", x => new { x.Id });
|
||||
Delete("/api/warehouse/{@id}", x => new { x.Id });
|
||||
AllowAnonymous();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user