Skip to content

Commit

Permalink
Merge pull request #160 from P4-Games/fix/20241230
Browse files Browse the repository at this point in the history
merge fix/20241230 into develop
  • Loading branch information
dappsar authored Dec 30, 2024
2 parents a746b73 + 64d57ce commit 9dd9985
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ build

# environment variables
.env*
__env*

# vercel
.vercel
Expand Down
2 changes: 1 addition & 1 deletion src/app/api/_data/blk-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import TokenPriceFeedsAbi from './_abis/TokenPriceFeedsAbi.json'
export async function transferAll(channelUserId: string, walletTo: string): Promise<boolean> {
try {
const data = { channel_user_id: channelUserId, dst_address: walletTo }
await axios.post(`${BACKEND_API_URL}/withdraw_funds`, data)
await axios.post(`${BACKEND_API_URL}/withdraw_all`, data)
return true
} catch (error) {
console.error('Error transfering all funds:', error)
Expand Down

0 comments on commit 9dd9985

Please sign in to comment.