diff --git a/Controllers/NotificationsController.cs b/Controllers/NotificationsController.cs index b9e2e9c..bee46b7 100644 --- a/Controllers/NotificationsController.cs +++ b/Controllers/NotificationsController.cs @@ -21,6 +21,7 @@ public class NotificationsController : ControllerBase } [HttpGet] + [HttpGet("/notifications")] public async Task>> GetNotifications() { var (userId, userName) = GetUserContext(); @@ -60,6 +61,7 @@ public class NotificationsController : ControllerBase } [HttpPatch("{id:guid}/read")] + [HttpPatch("/notifications/{id:guid}/read")] public async Task MarkAsRead(Guid id) { var (userId, userName) = GetUserContext();