fixed error with route of message endpoint

This commit is contained in:
2026-03-09 21:21:55 +01:00
parent 6e4ce9caf3
commit 47c2f78e74
3 changed files with 14 additions and 1 deletions
+7
View File
@@ -8,5 +8,12 @@
<jdbc-url>Server=romaric-thibault.fr,1433</jdbc-url>
<working-dir>$ProjectFileDir$</working-dir>
</data-source>
<data-source source="LOCAL" name="@romaric-thibault.fr [2]" uuid="ca3f05f9-1785-497e-bb80-adf40963d717">
<driver-ref>sqlserver.jb</driver-ref>
<synchronize>true</synchronize>
<jdbc-driver>com.jetbrains.jdbc.sqlserver.SqlServerDriver</jdbc-driver>
<jdbc-url>Server=romaric-thibault.fr,1433</jdbc-url>
<working-dir>$ProjectFileDir$</working-dir>
</data-source>
</component>
</project>
+6
View File
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="db-tree-configuration">
<option name="data" value="----------------------------------------&#10;1:0:d39cb28a-f071-4fe6-bb03-b2350028b821&#10;2:0:ca3f05f9-1785-497e-bb80-adf40963d717&#10;" />
</component>
</project>
@@ -14,7 +14,7 @@ public class GetMessagesEndpoint(MessagesRepository messagesRepository) : Endpoi
{
public override void Configure()
{
Post("/Messages/Groups/{@GroupId}/", x => new { x.GroupId });
Get("/Messages/Groups/{@GroupId}/", x => new { x.GroupId });
}
public override async Task HandleAsync(GetMessagesRequest req, CancellationToken ct)