summaryrefslogtreecommitdiff
path: root/internal/api/client/notifications/notificationsclear.go
diff options
context:
space:
mode:
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 17592f36d..cf3706a7c 100644
--- a/internal/api/client/notifications/notificationsclear.go
+++ b/internal/api/client/notifications/notificationsclear.go
@@ -69,7 +69,7 @@ func (m *Module) NotificationsClearPOSTHandler(c *gin.Context) {
return
}
- errWithCode := m.processor.NotificationsClear(c.Request.Context(), authed)
+ errWithCode := m.processor.Timeline().NotificationsClear(c.Request.Context(), authed)
if errWithCode != nil {
apiutil.ErrorHandler(c, errWithCode, m.processor.InstanceGetV1)
return