Normalization of route names
This commit is contained in:
@@ -11,7 +11,7 @@ public class GetContentsByUser(
|
|||||||
public override void Configure()
|
public override void Configure()
|
||||||
{
|
{
|
||||||
Tags("Contents");
|
Tags("Contents");
|
||||||
Get("/api/contents/by-user/{UserId:guid}");
|
Get("/api/contents/user/{UserId:guid}");
|
||||||
AllowAnonymous();
|
AllowAnonymous();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ public class GetMessagesByUser(
|
|||||||
public override void Configure()
|
public override void Configure()
|
||||||
{
|
{
|
||||||
Tags("Messages");
|
Tags("Messages");
|
||||||
Get("/api/messages/by-user/{UserId:guid}");
|
Get("/api/messages/user/{UserId:guid}");
|
||||||
}
|
}
|
||||||
|
|
||||||
public override async Task HandleAsync(
|
public override async Task HandleAsync(
|
||||||
|
|||||||
Reference in New Issue
Block a user