From c4320c9b051c238c02e2afc5df1b76fd4ff26c8a Mon Sep 17 00:00:00 2001 From: Vanessa Date: Thu, 2 Jun 2022 11:21:52 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/4186 --- app/src/config/account.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/config/account.ts b/app/src/config/account.ts index 0ca4f8d07..77ada4b1c 100644 --- a/app/src/config/account.ts +++ b/app/src/config/account.ts @@ -160,7 +160,7 @@ ${window.siyuan.languages.account2} const trialSubElement = account.element.querySelector("#trialSub"); if (trialSubElement) { trialSubElement.addEventListener("click", () => { - fetchPost("/api/account/startFreeTrial", () => { + fetchPost("/api/account/startFreeTrial", {}, () => { account.element.querySelector("#refresh").dispatchEvent(new Event("click")); }); });