print acnt->id to js-console

This commit is contained in:
jem 2020-06-24 19:59:02 +02:00
parent 7775dc88f5
commit b5c1a12e33

View file

@ -53,6 +53,7 @@
(<p! (api/get-directory host-url))
api/mastojs->edn
(filter #(= account-name (:acct %)))
(infra/debug)
(map :id)
first)))
out))
@ -68,13 +69,9 @@
(<p! (api/get-account-statuses host-url account-id))
api/mastojs->edn)
]
(print host-url)
(print account-name)
(print account-id)
(->> statuus
(take 14)
(take 4)
(api/masto->html)
(render-html)
(infra/debug)
(render-to-document))
)))