diff options
author | 2023-04-29 18:29:51 +0200 | |
---|---|---|
committer | 2023-04-29 17:29:51 +0100 | |
commit | 8b1e2288d80a723a0c51770f0427fb6c7e07a366 (patch) | |
tree | 93970e7138dffdc320e8bb28671548be88d44001 /internal/api/client/notifications/notifications.go | |
parent | [bugfix] add From to email header (#1717) (diff) | |
download | gotosocial-8b1e2288d80a723a0c51770f0427fb6c7e07a366.tar.xz |
[feature] Add GET endpoint for single notification (#1719)
Diffstat (limited to 'internal/api/client/notifications/notifications.go')
-rw-r--r-- | internal/api/client/notifications/notifications.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/api/client/notifications/notifications.go b/internal/api/client/notifications/notifications.go index 0fa60f232..52b06f385 100644 --- a/internal/api/client/notifications/notifications.go +++ b/internal/api/client/notifications/notifications.go @@ -56,5 +56,6 @@ func New(processor *processing.Processor) *Module { func (m *Module) Route(attachHandler func(method string, path string, f ...gin.HandlerFunc) gin.IRoutes) { attachHandler(http.MethodGet, BasePath, m.NotificationsGETHandler) + attachHandler(http.MethodGet, BasePathWithID, m.NotificationGETHandler) attachHandler(http.MethodPost, BasePathWithClear, m.NotificationsClearPOSTHandler) } |