Skip to content

Commit

Permalink
Merge pull request #163 from P4-Games/feature/withdraw-all-url
Browse files Browse the repository at this point in the history
merge feature/withdraw-all-url into develop
  • Loading branch information
dappsar authored Dec 30, 2024
2 parents 47dc080 + 797a528 commit 9bbf565
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/api/v1/user/[id]/transfer-all/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export async function POST(req: NextRequest, { params }: { params: IParams }) {
)
}

const result: boolean = await transferAll(user.id, walletTo)
const result: boolean = await transferAll(user.phone_number, walletTo)
if (!result) {
return new NextResponse(
JSON.stringify({
Expand Down

0 comments on commit 9bbf565

Please sign in to comment.