Skip to content

Commit

Permalink
fixed types2
Browse files Browse the repository at this point in the history
  • Loading branch information
akash-wt committed Dec 31, 2024
1 parent 05cb88c commit e45e1ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/user-app/app/lib/actoins/p2pTransfer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export async function p2pTransfer(to: string, amount: number) {
}

try {
await prisma.$transaction(async (tx) => {
await prisma.$transaction(async (tx : any) => {

await tx.$queryRaw`
SELECT * FROM Balance WHERE userId = ${Number(from)} FOR UPDATE
Expand Down

0 comments on commit e45e1ec

Please sign in to comment.