Skip to content

Commit

Permalink
Bumped the version and fixed baseURL typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kyrea committed Sep 19, 2024
1 parent e4ef17d commit f7ae28c
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 f7ae28c

Please sign in to comment.