Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ihsangan committed Aug 6, 2024
1 parent 2eaec3f commit 7cccb97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/router/ff.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default async function ff(id: number): Promise<Result> {
return {
success: true,
game: 'Garena Free Fire',
id: Number(id),
id,
name: data.confirmationFields.roles[0].role
};
}
2 changes: 1 addition & 1 deletion src/routing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default async function callAPI(request: Request): Promise<Result> {
let result: Result;
switch (true) {
case path.includes('/ff'):
result = await router.ff(id);
result = await router.ff(Number(id));
break;
case path.includes('/ml'):
result = await router.ml(id, zone);
Expand Down

0 comments on commit 7cccb97

Please sign in to comment.