fix: missing mock

This commit is contained in:
2024-10-27 08:49:36 -04:00
parent 2dcf8630ab
commit c6904eb7a5

View File

@@ -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) {