diff options
Diffstat (limited to 'internal/api/client/statuses/status.go')
-rw-r--r-- | internal/api/client/statuses/status.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/api/client/statuses/status.go b/internal/api/client/statuses/status.go index 380846ed4..d709d80ea 100644 --- a/internal/api/client/statuses/status.go +++ b/internal/api/client/statuses/status.go @@ -88,6 +88,10 @@ func (m *Module) Route(attachHandler func(method string, path string, f ...gin.H attachHandler(http.MethodPost, UnfavouritePath, m.StatusUnfavePOSTHandler) attachHandler(http.MethodGet, FavouritedPath, m.StatusFavedByGETHandler) + // pin stuff + attachHandler(http.MethodPost, PinPath, m.StatusPinPOSTHandler) + attachHandler(http.MethodPost, UnpinPath, m.StatusUnpinPOSTHandler) + // reblog stuff attachHandler(http.MethodPost, ReblogPath, m.StatusBoostPOSTHandler) attachHandler(http.MethodPost, UnreblogPath, m.StatusUnboostPOSTHandler) |