refactor: meta format cleanup
This commit is contained in:
parent
64c4fe2832
commit
818aabf13d
2 changed files with 2 additions and 2 deletions
|
|
@ -115,7 +115,7 @@ func (p *Processor) Process(ctx context.Context, in *imagor.Blob, params imagorp
|
|||
meta := av.Metadata()
|
||||
if params.Meta {
|
||||
out = imagor.NewBlobFromJsonMarshal(Metadata{
|
||||
Format: mime.Extension(),
|
||||
Format: strings.TrimPrefix(mime.Extension(), "."),
|
||||
ContentType: mime.String(),
|
||||
Metadata: meta,
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue