* Refactor download

* emoji type
This commit is contained in:
MeiMei
2019-03-21 04:50:44 +09:00
committed by syuilo
parent 1c79e30436
commit 7bebea087c
12 changed files with 151 additions and 237 deletions

View File

@ -8,7 +8,7 @@ export default (emoji: IEmoji) => ({
updated: emoji.updatedAt != null ? emoji.updatedAt.toISOString() : new Date().toISOString,
icon: {
type: 'Image',
mediaType: 'image/png', //Mei-TODO
mediaType: emoji.type || 'image/png',
url: emoji.url
}
});