Skip to content

Commit 5271f0a

Browse files
authored
Merge pull request #55 from WaifuAPI/staging
Bumped the version and fixed baseURL typo
2 parents be9bffc + f7ae28c commit 5271f0a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "docs.waifu.it",
3-
"version": "3.1.8",
3+
"version": "3.1.9",
44
"description": "The new and improved documentation for Waifu.it",
55
"scripts": {
66
"dev": "next dev",
@@ -27,4 +27,4 @@
2727
"@types/node": "18.11.10",
2828
"typescript": "^4.9.5"
2929
}
30-
}
30+
}

pages/rest-api/Images/Husbando/search.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Here's example of how to make a request to the `/husbando` endpoint.
5454
/*
5555
Replace "YOUR_ACCESS_TOKEN" with the token you got from the Kohai Bot and the endpoint.
5656
*/
57-
const url = "https://husbando.it/api/v4/husbando";
57+
const url = "https://waifu.it/api/v4/husbando";
5858
const data = async () => {
5959
try {
6060
const { data } = await axios.get(url, { headers: {
@@ -77,7 +77,7 @@ Here's example of how to make a request to the `/husbando` endpoint.
7777
"""
7878
Replace "YOUR_ACCESS_TOKEN" with the token you got from the Kohai Bot and the endpoint.
7979
"""
80-
url = "https://husbando.it/api/v4/husbando"
80+
url = "https://waifu.it/api/v4/husbando"
8181
response = requests.get(url, headers={
8282
"Authorization": "YOUR_ACCESS_TOKEN",
8383
})

0 commit comments

Comments
 (0)