diff options
| author | Masaya Tojo <masaya@tojo.tokyo> | 2020-07-08 09:56:53 +0900 |
|---|---|---|
| committer | Masaya Tojo <masaya@tojo.tokyo> | 2020-07-08 09:56:53 +0900 |
| commit | dffe134e13b93f05ea515b6359d6edc0b2374f0b (patch) | |
| tree | ade0362e6d759fdeefa171af6cbe75847ed2ab67 | |
| parent | e3d5f4456825481b0bd822e1860744945041c2c8 (diff) | |
qkbox: toot: Fix post procedure.
| -rw-r--r-- | qkbox/toot.scm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qkbox/toot.scm b/qkbox/toot.scm index d52314d..122e1bf 100644 --- a/qkbox/toot.scm +++ b/qkbox/toot.scm @@ -41,9 +41,9 @@ (post-json "/api/v1/statuses" `(,@(if status - `(status . ,(if (string? status) - status - (format #f "~y" status))) + `((status . ,(if (string? status) + status + (format #f "~y" status)))) '()) ,@(if spoiler-text `((spoiler_text . ,spoiler-text)) |
