summaryrefslogtreecommitdiff
path: root/internal/api/client/notifications/notificationsclear.go
diff options
context:
space:
mode:
authorLibravatar Daenney <daenney@users.noreply.github.com>2023-05-25 16:56:33 +0200
committerLibravatar GitHub <noreply@github.com>2023-05-25 16:56:33 +0200
commite0962987aa4b4b06b467e556b56925019b944407 (patch)
tree5ec7a7a5515162d139da14692dc71ecfe9e24e77 /internal/api/client/notifications/notificationsclear.go
parent[feature] Configurable custom css length (#1827) (diff)
downloadgotosocial-e0962987aa4b4b06b467e556b56925019b944407.tar.xz
[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.
Diffstat (limited to 'internal/api/client/notifications/notificationsclear.go')
-rw-r--r--internal/api/client/notifications/notificationsclear.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/api/client/notifications/notificationsclear.go b/internal/api/client/notifications/notificationsclear.go
index cf3706a7c..4b63db283 100644
--- a/internal/api/client/notifications/notificationsclear.go
+++ b/internal/api/client/notifications/notificationsclear.go
@@ -26,7 +26,7 @@ import (
"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.
//