summaryrefslogtreecommitdiff
path: root/qkbox/toot.scm
diff options
context:
space:
mode:
authorMasaya Tojo <masaya@tojo.tokyo>2020-07-10 05:10:38 +0900
committerMasaya Tojo <masaya@tojo.tokyo>2020-07-10 05:10:38 +0900
commit282cf180ee92aed2ad9d8ed6847138470711901d (patch)
treed2b7670f9b07758b790d053ed8f8b1c8fd87a1e9 /qkbox/toot.scm
parenta11ad62be3bd49ca1fea1d32bb98e3772f538f48 (diff)
qkbox: toot: Rename from status to text.
Diffstat (limited to 'qkbox/toot.scm')
-rw-r--r--qkbox/toot.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/qkbox/toot.scm b/qkbox/toot.scm
index 7d42e65..1539880 100644
--- a/qkbox/toot.scm
+++ b/qkbox/toot.scm
@@ -23,14 +23,14 @@
(define current-mastodon-access-token
(make-parameter (getenv "MASTODON_ACCESS_TOKEN")))
-(define* (post status
+(define* (post text
#:key
spoiler-text
visibility
sensitive?
reply-to)
(define-values (res body)
- (/api/v1/statuses #:status status
+ (/api/v1/statuses #:status text
#:spoiler-text spoiler-text
#:visibility visibility
#:sensitive? sensitive?