HOTFIX
This commit is contained in:
@@ -12,7 +12,7 @@ public class DeleteDelivererEndpoint(PyroFetesDbContext database) : Endpoint<Del
|
|||||||
{
|
{
|
||||||
public override void Configure()
|
public override void Configure()
|
||||||
{
|
{
|
||||||
Delete("api/deliverers/{id}", x=>new {x.DelivererId});
|
Delete("api/deliverers/{@id}", x=>new {x.DelivererId});
|
||||||
AllowAnonymous();
|
AllowAnonymous();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ public class GetDelivererEndpoint(PyroFetesDbContext database) : Endpoint<GetDel
|
|||||||
{
|
{
|
||||||
public override void Configure()
|
public override void Configure()
|
||||||
{
|
{
|
||||||
Get("api/deliverers/{id}", x=>new {x.DelivererId});
|
Get("api/deliverers/{@id}", x=>new {x.DelivererId});
|
||||||
AllowAnonymous();
|
AllowAnonymous();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ public class UpdateDelivererEndpoint(PyroFetesDbContext database) : Endpoint<Upd
|
|||||||
{
|
{
|
||||||
public override void Configure()
|
public override void Configure()
|
||||||
{
|
{
|
||||||
Put("api/deliverers/{id}", x=>new {x.Id});
|
Put("api/deliverers/{@id}", x=>new {x.Id});
|
||||||
AllowAnonymous();
|
AllowAnonymous();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user