Skip to content

Commit

Permalink
fix hi3 & pgr
Browse files Browse the repository at this point in the history
  • Loading branch information
ihsangan committed Sep 17, 2024
1 parent e7b6b66 commit 7e0cae7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/router/hi.ts
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { endpoint, headers, Result } from '../utils';

export default async function hi(id: number): Promise<Result> {
const body = `voucherPricePoint.id=48160&voucherPricePoint.price=16500&voucherPricePoint.variablePrice=0&user.userId=${id}&user.zoneId=&voucherTypeName=HONKAI_IMPACT&shopLang=id_ID`;
const body = `voucherPricePoint.id=48250&voucherPricePoint.price=16500&voucherPricePoint.variablePrice=0&user.userId=${id}&user.zoneId=&voucherTypeName=HONKAI_IMPACT&shopLang=id_ID`;
const response = await fetch(endpoint, {
method: 'POST',
headers,
Expand Down
2 changes: 1 addition & 1 deletion src/router/pgr.ts
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default async function pgr(id: number, zone: string): Promise<Result> {
message: 'Bad request',
};
}
const body = `voucherPricePoint.id=259947&voucherPricePoint.price=15136&voucherPricePoint.variablePrice=0&user.userId=${id}&user.zoneId=${sv}&voucherTypeName=PUNISHING_GRAY_RAVEN&shopLang=id_ID`;
const body = `voucherPricePoint.id=259947&voucherPricePoint.price=15000&voucherPricePoint.variablePrice=0&user.userId=${id}&user.zoneId=${sv}&voucherTypeName=PUNISHING_GRAY_RAVEN&shopLang=id_ID`;
const response = await fetch(endpoint, {
method: 'POST',
headers,
Expand Down

0 comments on commit 7e0cae7

Please sign in to comment.