edit default license type
This commit is contained in:
1 parent
c5c36cb078
commit
0ecc2b4a3c
1 file changed
+2
-2
@@ -26,7 +26,7 @@ export const ViewContentPage = () => {
|
||||
|
||||
const contentResponse = await purchaseContent({
|
||||
content_address: content?.data?.encrypted?.cid,
|
||||
license_type: "listen",
|
||||
license_type: "resale",
|
||||
});
|
||||
|
||||
const transactionResponse = await tonConnectUI.sendTransaction({
|
||||
@@ -91,7 +91,7 @@ export const ViewContentPage = () => {
|
||||
<Button
|
||||
onClick={handleBuyContent}
|
||||
className={"mb-4 mt-[30px] h-[48px]"}
|
||||
label={`Купить за ${fromNanoTON(content?.data?.encrypted?.license?.listen?.price)} ТОН`}
|
||||
label={`Купить за ${fromNanoTON(content?.data?.encrypted?.license?.resale?.price)} ТОН`}
|
||||
includeArrows={true}
|
||||
/>
|
||||
</main>
|
||||
|
||||
Reference in new issue
Block a user