From f7ae28c331f7daddb022708cf936a82f654aa956 Mon Sep 17 00:00:00 2001 From: kyrea Date: Fri, 20 Sep 2024 03:35:33 +0530 Subject: [PATCH] Bumped the version and fixed baseURL typo --- package.json | 4 ++-- pages/rest-api/Images/Husbando/search.mdx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 540c73c..9e70f4b 100644 --- a/package.json +++ b/package.json @@ -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", @@ -27,4 +27,4 @@ "@types/node": "18.11.10", "typescript": "^4.9.5" } -} +} \ No newline at end of file diff --git a/pages/rest-api/Images/Husbando/search.mdx b/pages/rest-api/Images/Husbando/search.mdx index 093294f..0b3d7fa 100644 --- a/pages/rest-api/Images/Husbando/search.mdx +++ b/pages/rest-api/Images/Husbando/search.mdx @@ -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: { @@ -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", })