Skip to content

Commit

Permalink
feat: save mime type data to dc image (#6)
Browse files Browse the repository at this point in the history
* feat: save mime type data to dc image

* docs: Readme with mimetype

---------

Co-authored-by: Neil Mistry <30687441+neilmistryamplience@users.noreply.github.com>
  • Loading branch information
Benj0s and neilmistryamplience authored Aug 1, 2024
1 parent 8a8b78e commit 5794c2f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,8 @@ Example:
"id": "{{id_of_asset_in_amplience}}",
"name": "{{name_of_asset_in_amplience}}",
"endpoint": "{{amplience_media_endpoint}}",
"defaultHost": "{{amplience_default_host}}"
"defaultHost": "{{amplience_default_host}}",
"mimeType": "{{amplience_asset_mimeType}}",
}
}
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ function WithContentFieldExtension({ children }: { children: ReactNode }) {
name: storedAsset.name,
endpoint: amplienceConfig.endpoint,
defaultHost: amplienceConfig.defaultHost,
mimeType: storedAsset.mimeType,
};
};

Expand Down

0 comments on commit 5794c2f

Please sign in to comment.