corrections d'erreurs
This commit is contained in:
@@ -9,7 +9,7 @@ public class GetDiscussionEndpoint(KnotsDbContext db, AutoMapper.IMapper mapper)
|
||||
{
|
||||
public override void Configure()
|
||||
{
|
||||
Get("/groups");
|
||||
Get("/discussions");
|
||||
AllowAnonymous();
|
||||
}
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ public class CreateKeyEndpoint(KnotsDbContext db, AutoMapper.IMapper mapper) : E
|
||||
{
|
||||
public override void Configure()
|
||||
{
|
||||
Post("/groups");
|
||||
Post("/keys");
|
||||
AllowAnonymous();
|
||||
}
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ public class DeleteKeyEndpoint(KnotsDbContext db, AutoMapper.IMapper mapper) : E
|
||||
{
|
||||
public override void Configure()
|
||||
{
|
||||
Delete("/groups");
|
||||
Delete("/keys");
|
||||
AllowAnonymous();
|
||||
}
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ public class PatchUserProfilePictureEndpoint(KnotsDbContext db, AutoMapper.IMapp
|
||||
{
|
||||
public override void Configure()
|
||||
{
|
||||
Patch("/users/{@Id}/profilepicture/", x => new {x.Id});
|
||||
Patch("/users/{@Id}/profilepicture/");
|
||||
AllowAnonymous();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user