mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-12-24 15:58:50 +01:00
[bugfix/docs] Fix clear notifications API docs (#1831)
The handler is already hooked to the right path, it's just the docs that were missing the path.
This commit is contained in:
parent
fc524f8cf1
commit
e0962987aa
@ -5019,6 +5019,7 @@ paths:
|
||||
summary: Get notifications for currently authorized user.
|
||||
tags:
|
||||
- notifications
|
||||
/api/v1/notifications/clear:
|
||||
post:
|
||||
description: Will return an empty object `{}` to indicate success.
|
||||
operationId: clearNotifications
|
||||
|
@ -26,7 +26,7 @@
|
||||
"github.com/superseriousbusiness/gotosocial/internal/oauth"
|
||||
)
|
||||
|
||||
// NotificationsClearPOSTHandler swagger:operation POST /api/v1/notifications clearNotifications
|
||||
// NotificationsClearPOSTHandler swagger:operation POST /api/v1/notifications/clear clearNotifications
|
||||
//
|
||||
// Clear/delete all notifications for currently authorized user.
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user