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 17c5a090b..5fd7856e9 100644 --- a/internal/api/client/media/mediaget.go +++ b/internal/api/client/media/mediaget.go @@ -75,7 +75,7 @@ func (m *Module) MediaGETHandler(c *gin.Context) { return } - attachment, errWithCode := m.processor.MediaGet(authed, attachmentID) + attachment, errWithCode := m.processor.MediaGet(c.Request.Context(), authed, attachmentID) if errWithCode != nil { c.JSON(errWithCode.Code(), gin.H{"error": errWithCode.Safe()}) return |