From 8b1e2288d80a723a0c51770f0427fb6c7e07a366 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Sat, 29 Apr 2023 18:29:51 +0200 Subject: [feature] Add GET endpoint for single notification (#1719) --- internal/api/client/notifications/notifications.go | 1 + 1 file changed, 1 insertion(+) (limited to 'internal/api/client/notifications/notifications.go') 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) } -- cgit v1.2.3