mirror of
https://github.com/grafana/grafana.git
synced 2026-08-18 17:15:08 -05:00
Storage: Mime type detection (#52512)
* Storage: implement mime type detection * lint
This commit is contained in:
@@ -129,7 +129,6 @@ func (s *httpStorage) Upload(c *models.ReqContext) response.Response {
|
||||
|
||||
err = s.store.Upload(c.Req.Context(), c.SignedInUser, &UploadRequest{
|
||||
Contents: data,
|
||||
MimeType: mimeType,
|
||||
EntityType: entityType,
|
||||
Path: path,
|
||||
OverwriteExistingFile: overwriteExistingFile,
|
||||
|
||||
Reference in New Issue
Block a user