summaryrefslogtreecommitdiff
path: root/qkbox
diff options
context:
space:
mode:
authorMasaya Tojo <masaya@tojo.tokyo>2020-07-11 16:45:03 +0900
committerMasaya Tojo <masaya@tojo.tokyo>2020-07-11 16:45:03 +0900
commit98a528fc22adfbead514365a201cc1b33f90a34e (patch)
tree2dcda44382b65dac21e4195c5b1eca618bb01c17 /qkbox
parenta697a62445cf8902cdfabf69f7faf7cfc6ba72c9 (diff)
qkbox: toot: Rename from timeline to fetch-timeline.
Diffstat (limited to 'qkbox')
-rw-r--r--qkbox/toot.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/qkbox/toot.scm b/qkbox/toot.scm
index d4c30a4..bb44a72 100644
--- a/qkbox/toot.scm
+++ b/qkbox/toot.scm
@@ -261,7 +261,7 @@
(format #f "/api/v1/statuses/~a" id)
#:authorization? authorization?))
-(define*-public (timeline #:key max-id since-id min-id limit local?)
+(define*-public (fetch-timeline #:key max-id since-id min-id limit local?)
(receive (res body)
(/api/v1/timelines/home #:max-id max-id
#:since-id since-id
@@ -272,9 +272,9 @@
((200)
(map make-status (vector->list body)))
((206)
- (error "timeline: Home feed is regenerating"))
+ (error "fetch-timeline: Home feed is regenerating"))
(else
- (error "timeline: failed" res body)))))
+ (error "fetch-timeline: failed" res body)))))
(define* (/api/v1/timelines/home #:key max-id since-id min-id limit local?)
(request