corrections d'erreurs

This commit is contained in:
2026-05-05 10:39:47 +02:00
parent c6914f401c
commit 4fe072d837
37 changed files with 406 additions and 493 deletions
@@ -9,7 +9,7 @@ public class GetDiscussionEndpoint(KnotsDbContext db, AutoMapper.IMapper mapper)
{
public override void Configure()
{
Get("/groups");
Get("/discussions");
AllowAnonymous();
}
+1 -1
View File
@@ -7,7 +7,7 @@ public class CreateKeyEndpoint(KnotsDbContext db, AutoMapper.IMapper mapper) : E
{
public override void Configure()
{
Post("/groups");
Post("/keys");
AllowAnonymous();
}
+1 -1
View File
@@ -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();
}