From 0d6b5a20e3cc26de90e520beac2c0d7a35d76c97 Mon Sep 17 00:00:00 2001 From: ihsangan Date: Sat, 15 Jun 2024 17:08:52 +0800 Subject: [PATCH] update index.js --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index eae4290..407ad9d 100644 --- a/index.js +++ b/index.js @@ -217,8 +217,8 @@ async function callAPI(request) { return {success:true,game:"Point Blank",id:id,name:data.confirmationFields.username} } if (path.includes('/coc')) { - if(!id.startsWith('%23')){ - id = `%23${id}` + if(!id.startsWith('#')){ + id = `#${id}` } id = id.toUpperCase() const body = `voucherPricePoint.id=453696&voucherPricePoint.price=16000&voucherPricePoint.variablePrice=0&user.userId=${id}&voucherTypeName=CLASH_OF_CLANS&shopLang=id_ID`