fix: missing mock
This commit is contained in:
@@ -2,7 +2,7 @@ import { HttpResponse, http } from "msw";
|
||||
|
||||
export function getAniwatchEpisodes() {
|
||||
return http.get(
|
||||
"https://aniwatch.up.railway.app/anime/episodes/:aniListId",
|
||||
"https://aniwatch.up.railway.app/api/v2/hianime/anime/:aniListId/episodes",
|
||||
({ params }) => {
|
||||
const aniListId = Number(params["aniListId"]);
|
||||
if (aniListId === 4) {
|
||||
|
||||
Reference in New Issue
Block a user