fixed error with route of message endpoint
This commit is contained in:
@@ -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>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="db-tree-configuration">
|
||||
<option name="data" value="---------------------------------------- 1:0:d39cb28a-f071-4fe6-bb03-b2350028b821 2:0:ca3f05f9-1785-497e-bb80-adf40963d717 " />
|
||||
</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)
|
||||
|
||||
Reference in New Issue
Block a user