diff options
author | 2021-06-21 15:56:00 +0200 | |
---|---|---|
committer | 2021-06-21 15:56:00 +0200 | |
commit | a5fd6f427bab2cac03b4da5668eed18b900ba3be (patch) | |
tree | 5456928a707656a54cddcffb1199f59a4bc9039e /internal/api/client/status/status.go | |
parent | Testrig fixes (#50) (diff) | |
download | gotosocial-a5fd6f427bab2cac03b4da5668eed18b900ba3be.tar.xz |
Deletes+unboosts (#52)
* Status deletes properly streamed now.
* Unboosts now work locally and federated.
* Documentation updates.
Diffstat (limited to 'internal/api/client/status/status.go')
-rw-r--r-- | internal/api/client/status/status.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/api/client/status/status.go b/internal/api/client/status/status.go index c5959edb0..dec6bebce 100644 --- a/internal/api/client/status/status.go +++ b/internal/api/client/status/status.go @@ -98,6 +98,7 @@ func (m *Module) Route(r router.Router) error { r.AttachHandler(http.MethodGet, FavouritedPath, m.StatusFavedByGETHandler) r.AttachHandler(http.MethodPost, ReblogPath, m.StatusBoostPOSTHandler) + r.AttachHandler(http.MethodPost, UnreblogPath, m.StatusUnboostPOSTHandler) r.AttachHandler(http.MethodGet, RebloggedPath, m.StatusBoostedByGETHandler) r.AttachHandler(http.MethodGet, ContextPath, m.StatusContextGETHandler) |