diff options
Diffstat (limited to 'internal/api/client/media/mediaget.go')
-rw-r--r-- | internal/api/client/media/mediaget.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/api/client/media/mediaget.go b/internal/api/client/media/mediaget.go index 431f73d65..8456f85d8 100644 --- a/internal/api/client/media/mediaget.go +++ b/internal/api/client/media/mediaget.go @@ -98,5 +98,5 @@ func (m *Module) MediaGETHandler(c *gin.Context) { return } - c.JSON(http.StatusOK, attachment) + apiutil.JSON(c, http.StatusOK, attachment) } |