diff --git a/src/data/unsplash.ts b/src/data/unsplash.ts index 111ea65..4e323f7 100644 --- a/src/data/unsplash.ts +++ b/src/data/unsplash.ts @@ -20,7 +20,7 @@ async function listRandomImages(count: number = 10): Promise { originUrl: buildUtmUrl(img.links.html), authorName: img.user.name, authorBio: img.user.bio ?? 'No bio', - authorLocation: img.user.location, + authorLocation: img.user.location ?? 'Unknown', authorTotalLikes: img.user.total_likes, authorTotalPhotos: img.user.total_photos, authorIsForHire: img.user.for_hire,