diff --git a/src/02-passing-type-arguments/11-data-fetcher.problem.ts b/src/02-passing-type-arguments/11-data-fetcher.problem.ts index a1111ba..ed1a55a 100644 --- a/src/02-passing-type-arguments/11-data-fetcher.problem.ts +++ b/src/02-passing-type-arguments/11-data-fetcher.problem.ts @@ -8,7 +8,7 @@ const fetchData = async (url: string) => { it("Should fetch data from an API", async () => { const data = await fetchData<{ name: string }>( - "https://swapi.dev/api/people/1", + "https://swapi.py4e.com/api/people/1", ); expect(data.name).toEqual("Luke Skywalker");