Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

Commit

Permalink
Fix image formats generation
Browse files Browse the repository at this point in the history
  • Loading branch information
denisgoryaynov committed Sep 11, 2020
1 parent 688f5f5 commit abc88ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/normalize.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const extractFields = async (apiURL, store, cache, createNode, createNodeId, tou
if (isImage(item)) {
let fileNodeID
// using field on the cache key for multiple image field
const mediaDataCacheKey = `strapi-media-${item.id}`
const mediaDataCacheKey = `strapi-media-${item.hash}`
const cacheMediaData = await cache.get(mediaDataCacheKey)
const itemUpdatedAt = item.updatedAt || item.updated_at

Expand Down

0 comments on commit abc88ea

Please sign in to comment.