File tree 1 file changed +2
-2
lines changed
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
54
54
/*
55
55
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
56
56
*/
57
- const url = " https://waifu.it/api/:endpoint"
57
+ const url = " https://waifu.it/api/v4/ :endpoint"
58
58
const data = async () => {
59
59
try {
60
60
const { data } = await axios .get (url, { headers: {
@@ -79,7 +79,7 @@ Authorization: MTk4NjIyNDgzNDcxOTI1MjQ4.Cl2FMQ.ZnCjm1XVW7vRze4b7Cq4se7kKWs
79
79
"""
80
80
Replace "Your-API-Token" with the token you got from the Kohai Bot and the endpoint.
81
81
"""
82
- url = " https://waifu.it/api/:endpoint"
82
+ url = " https://waifu.it/api/v4/ :endpoint"
83
83
response = requests.get(url, headers = {
84
84
" Authorization" : " Your-API-Token" ,
85
85
})
You can’t perform that action at this time.
0 commit comments