Fix wrong HTTP method
This commit is contained in:
@@ -12,7 +12,7 @@ public class DeleteDelivererEndpoint(PyroFetesDbContext database) : Endpoint<Del
|
||||
{
|
||||
public override void Configure()
|
||||
{
|
||||
Put("api/deliverers/{id}", x=>new {x.DelivererId});
|
||||
Delete("api/deliverers/{id}", x=>new {x.DelivererId});
|
||||
AllowAnonymous();
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user