Skip to content

Commit

Permalink
wip: fetch images metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
lihbr committed Feb 2, 2025
1 parent 61611c4 commit 5e2f697
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/akte/prismic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ export async function getImages(args?: {

// Images JSON dump cache
const imagesJsonDumpRes = await fetch(IMAGES_JSON_DUMP)
let imagesJsonDump: Record<string, ImgixJson>
let imagesJsonDump: Record<string, ImgixJson> = {}

if (!imagesJsonDumpRes.ok) {
console.error(`Failed to fetch images JSON dump: ${imagesJsonDumpRes.statusText}`)
Expand Down

0 comments on commit 5e2f697

Please sign in to comment.