Skip to content

Commit 4f551d8

Browse files
committed
Fix crypto routing
1 parent e52fb97 commit 4f551d8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/api/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export async function POST(req: NextRequest) {
9191

9292
if (
9393
data.buyWithCryptoStatus &&
94-
data.buyWithCryptoStatus.status === "CRYPTO_SWAP_COMPLETED"
94+
data.buyWithCryptoStatus.status === "COMPLETED"
9595
) {
9696
const {
9797
fromAddress,

0 commit comments

Comments
 (0)