File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ Authorization: MTk4NjIyNDgzNDcxOTI1MjQ4.Cl2FMQ.ZnCjm1XVW7vRze4b7Cq4se7kKWs
5454 /*
5555 Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
5656 */
57- const url = " https://waifu.it/api/:endpoint"
57+ const url = " https://waifu.it/api/v4/ :endpoint"
5858 const data = async () => {
5959 try {
6060 const { data } = await axios .get (url, { headers: {
@@ -79,7 +79,7 @@ Authorization: MTk4NjIyNDgzNDcxOTI1MjQ4.Cl2FMQ.ZnCjm1XVW7vRze4b7Cq4se7kKWs
7979 """
8080 Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
8181 """
82- url = " https://waifu.it/api/:endpoint"
82+ url = " https://waifu.it/api/v4/ :endpoint"
8383 response = requests.get(url, headers = {
8484 " Authorization" : " Your-API-Token" ,
8585 })
You can’t perform that action at this time.
0 commit comments