Release v0.4.0 #110

Merged
lamacchinadesiderante merged 50 commits from develop into main 2024-05-27 19:05:12 +00:00
1 changed files with 3 additions and 1 deletions
Showing only changes of commit 039f70c086 - Show all commits

View File

@ -51,7 +51,9 @@ export const fetchPornHubGalleryData = async (params?: FetchParams): Promise<Gal
}) })
}) })
await storeDataIntoRedis(queryUrl, data, DEFAULT_PORNHUB_GALLERY_EXPIRY); if (data.length > 0) {
await storeDataIntoRedis(queryUrl, data, DEFAULT_PORNHUB_GALLERY_EXPIRY);
}
}).catch((error: AxiosError) => { }).catch((error: AxiosError) => {
// handle errors // handle errors