From d2b4dc535af34b3cd6cb1d1884660342748a045e Mon Sep 17 00:00:00 2001 From: Romain de Laage Date: Wed, 3 Mar 2021 10:49:21 +0100 Subject: [PATCH] fix api endpoint for profile (exclude replies) --- mastoUtil.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mastoUtil.go b/mastoUtil.go index 5beb6d6..84dcc8e 100644 --- a/mastoUtil.go +++ b/mastoUtil.go @@ -31,7 +31,7 @@ func getBlog(baseURL, account string) []Blog { return nil } - resp, err := http.Get(baseURL + "/api/v1/accounts/" + account + "/statuses?exclude_reblogs=true&exlude_replies=true") + resp, err := http.Get(baseURL + "/api/v1/accounts/" + account + "/statuses?exclude_reblogs=true&exclude_replies=true") if err != nil { log.Println("Mastodon API request: %s", err) return nil