瀏覽代碼

feat: swap

lushdog@outlook.com 1 月之前
父節點
當前提交
af918a48b0
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/app/my-lp/page.tsx

+ 2 - 0
src/app/my-lp/page.tsx

@@ -338,6 +338,7 @@ function MyLPPageContent() {
 					body: JSON.stringify({
 						nftMintAddress: record.nftMintAddress,
 						addUsdValue: addAmount,
+						needSwap: true,
 					}),
 				})
 					.then((res) => res.json())
@@ -375,6 +376,7 @@ function MyLPPageContent() {
 			body: JSON.stringify({
 				nftMintAddress: record.nftMintAddress,
 				addUsdValue,
+				needSwap: true,
 			}),
 		})
 			.then((res) => res.json())