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 4b63db283..2d7da3c6b 100644
--- a/internal/api/client/notifications/notificationsclear.go
+++ b/internal/api/client/notifications/notificationsclear.go
@@ -75,5 +75,5 @@ func (m *Module) NotificationsClearPOSTHandler(c *gin.Context) {
return
}
- c.JSON(http.StatusOK, struct{}{})
+ apiutil.Data(c, http.StatusOK, apiutil.AppJSON, apiutil.EmptyJSONObject)
}