Skip to content

Commit eb5323f

Browse files
authored
jikan v3 to v4
1 parent 14049b7 commit eb5323f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/[birthdate].js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const Birthdate = () => {
1616
await Promise.all(
1717
['anime', 'manga'].map(type =>
1818
fetch(
19-
`https://api.jikan.moe/v3/search/${type}?start_date=${y}-${m}-${d}&sort=asc&order_by=start_date`
19+
`https://api.jikan.moe/v4/search/${type}?start_date=${y}-${m}-${d}&sort=asc&order_by=start_date`
2020
)
2121
.then(resp => resp.json())
2222
.then(res => res.results)

0 commit comments

Comments
 (0)