fix: constant name
This commit is contained in:
1 parent
3b03df3ff5
commit
37ccfbb0da
1 file changed
+3
-1
+3
-1
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user