fix: constant name

This commit is contained in:
ner committed 2024-10-05 17:25:28 +03:00
1 parent 3b03df3ff5
commit 37ccfbb0da
1 file changed
+3 -1
+3 -1
View File
@@ -27,7 +27,9 @@ export const search = async ({
.then((response) => mapMoviesSeriesResponseToShows(response, type)); .then((response) => mapMoviesSeriesResponseToShows(response, type));
}; };
const generatePage = createUniqueRandomGenerator(500); const TOTAL_PAGES = 500;
const generatePage = createUniqueRandomGenerator(TOTAL_PAGES);
export const randomMovies = async (): Promise<Pagination<Show>> => { export const randomMovies = async (): Promise<Pagination<Show>> => {
return http return http