Skip to content

Commit

Permalink
Merge pull request #55 from WaifuAPI/staging
Browse files Browse the repository at this point in the history
Bumped the version and fixed baseURL typo
  • Loading branch information
kyrea authored Sep 19, 2024
2 parents be9bffc + f7ae28c commit 5271f0a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "docs.waifu.it",
"version": "3.1.8",
"version": "3.1.9",
"description": "The new and improved documentation for Waifu.it",
"scripts": {
"dev": "next dev",
Expand All @@ -27,4 +27,4 @@
"@types/node": "18.11.10",
"typescript": "^4.9.5"
}
}
}
4 changes: 2 additions & 2 deletions pages/rest-api/Images/Husbando/search.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Here's example of how to make a request to the `/husbando` endpoint.
/*
Replace "YOUR_ACCESS_TOKEN" with the token you got from the Kohai Bot and the endpoint.
*/
const url = "https://husbando.it/api/v4/husbando";
const url = "https://waifu.it/api/v4/husbando";
const data = async () => {
try {
const { data } = await axios.get(url, { headers: {
Expand All @@ -77,7 +77,7 @@ Here's example of how to make a request to the `/husbando` endpoint.
"""
Replace "YOUR_ACCESS_TOKEN" with the token you got from the Kohai Bot and the endpoint.
"""
url = "https://husbando.it/api/v4/husbando"
url = "https://waifu.it/api/v4/husbando"
response = requests.get(url, headers={
"Authorization": "YOUR_ACCESS_TOKEN",
})
Expand Down

0 comments on commit 5271f0a

Please sign in to comment.