mirror of
https://github.com/logseq/logseq.git
synced 2026-04-27 23:54:55 +00:00
setting up PR
This commit is contained in:
committed by
Gabriel Horner
parent
86d4351e96
commit
96101b9a6d
@@ -200,8 +200,14 @@
|
||||
(state/pub-event! [:user/logout]))
|
||||
|
||||
(defn upgrade []
|
||||
(js/window.open
|
||||
"https://logseqdemo.lemonsqueezy.com/checkout/buy/13e194b5-c927-41a8-af58-ed1a36d6000d"))
|
||||
(let [base-upgrade-url "https://logseqdemo.lemonsqueezy.com/checkout/buy/13e194b5-c927-41a8-af58-ed1a36d6000d"
|
||||
user-uuid (user-uuid)
|
||||
url (cond-> base-upgrade-url
|
||||
user-uuid (str "?checkout[custom][user_uuid]=" (name user-uuid)))]
|
||||
(println " ~~~ LEMON: " url " ~~~ ")
|
||||
(js/window.open url)))
|
||||
; (js/window.open
|
||||
; "https://logseqdemo.lemonsqueezy.com/checkout/buy/13e194b5-c927-41a8-af58-ed1a36d6000d"))
|
||||
|
||||
(defn <ensure-id&access-token
|
||||
[]
|
||||
|
||||
Reference in New Issue
Block a user