Skip to content

Bumped the version and fixed baseURL typo #55

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Bumped the version and fixed baseURL typo
  • Loading branch information
a3ryk committed Sep 19, 2024
commit f7ae28c331f7daddb022708cf936a82f654aa956
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