Skip to content

Commit

Permalink
HDevToken is now really functional :D
Browse files Browse the repository at this point in the history
  • Loading branch information
mstww committed Dec 7, 2023
1 parent 400b576 commit 549176f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion valorant/profile.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
import config from "../misc/config.js";
import unofficialValorantApi from "unofficial-valorant-api";
const VAPI = new unofficialValorantApi(config.HDevToken)
let VAPI;
if(config.HDevToken === undefined){
setTimeout(() => {
VAPI = new unofficialValorantApi(config.HDevToken) // It was starting without config
}, 10000);
}else{
VAPI = new unofficialValorantApi(config.HDevToken)
}
import { ordinalSuffix } from "../misc/util.js";
import {s} from "../misc/languages.js"

Expand Down

0 comments on commit 549176f

Please sign in to comment.