diff --git a/cmd/web/docs/docs.go b/cmd/web/docs/docs.go index d9611ca..2d91973 100644 --- a/cmd/web/docs/docs.go +++ b/cmd/web/docs/docs.go @@ -5529,7 +5529,7 @@ const docTemplate = `{ } } }, - "/api/v1/notifications/all-seen/{user_id}": { + "/api/v1/notifications/mark": { "get": { "security": [ { @@ -5578,7 +5578,7 @@ const docTemplate = `{ } } }, - "/api/v1/notifications/mark-seen/{id}": { + "/api/v1/notifications/mark/{id}": { "get": { "security": [ { diff --git a/cmd/web/docs/swagger.json b/cmd/web/docs/swagger.json index da7e134..f6f9637 100644 --- a/cmd/web/docs/swagger.json +++ b/cmd/web/docs/swagger.json @@ -5523,7 +5523,7 @@ } } }, - "/api/v1/notifications/all-seen/{user_id}": { + "/api/v1/notifications/mark": { "get": { "security": [ { @@ -5572,7 +5572,7 @@ } } }, - "/api/v1/notifications/mark-seen/{id}": { + "/api/v1/notifications/mark/{id}": { "get": { "security": [ { diff --git a/cmd/web/docs/swagger.yaml b/cmd/web/docs/swagger.yaml index b41ca31..5520cdc 100644 --- a/cmd/web/docs/swagger.yaml +++ b/cmd/web/docs/swagger.yaml @@ -4743,7 +4743,7 @@ paths: summary: Get notifications for the user tags: - Notification - /api/v1/notifications/all-seen/{user_id}: + /api/v1/notifications/mark: get: consumes: - application/json @@ -4774,7 +4774,7 @@ paths: summary: Mark all notifications as seen for a user tags: - Notification - /api/v1/notifications/mark-seen/{id}: + /api/v1/notifications/mark/{id}: get: consumes: - application/json