summaryrefslogtreecommitdiff
path: root/internal/api/client/status/statusboost.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api/client/status/statusboost.go')
-rw-r--r--internal/api/client/status/statusboost.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/api/client/status/statusboost.go b/internal/api/client/status/statusboost.go
index 094e56ac0..6a1ccde28 100644
--- a/internal/api/client/status/statusboost.go
+++ b/internal/api/client/status/statusboost.go
@@ -87,12 +87,12 @@ func (m *Module) StatusBoostPOSTHandler(c *gin.Context) {
return
}
- mastoStatus, errWithCode := m.processor.StatusBoost(c.Request.Context(), authed, targetStatusID)
+ apiStatus, errWithCode := m.processor.StatusBoost(c.Request.Context(), authed, targetStatusID)
if errWithCode != nil {
l.Debugf("error processing status boost: %s", errWithCode.Error())
c.JSON(errWithCode.Code(), gin.H{"error": errWithCode.Safe()})
return
}
- c.JSON(http.StatusOK, mastoStatus)
+ c.JSON(http.StatusOK, apiStatus)
}