From e0962987aa4b4b06b467e556b56925019b944407 Mon Sep 17 00:00:00 2001 From: Daenney Date: Thu, 25 May 2023 16:56:33 +0200 Subject: [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. --- internal/api/client/notifications/notificationsclear.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/api/client/notifications/notificationsclear.go') 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. // -- cgit v1.2.3