Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ayadag authored Dec 15, 2023
1 parent 5e03b54 commit 2b3c3ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ app.get("/api/whatsapp",(req,res)=>{
axios.get('https://chatbasebot.com/version-test/api/1.1/wf/xyzg?key='+mykey+'/')
.then((response) => {
console.log(response.data.response.mytoken);
let mytoken response.data.response.mytoken;

if(mode && token){
if(mode==="subscribe" && token===mytoken){
Expand Down

0 comments on commit 2b3c3ec

Please sign in to comment.