From dea4941b4a28f83c3554f2546f66dd57e3cd923f Mon Sep 17 00:00:00 2001 From: tsmethurst Date: Mon, 21 Jun 2021 15:50:55 +0200 Subject: [PATCH] go fmt --- internal/processing/synchronous/status/unboost.go | 4 ++-- internal/timeline/remove.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/processing/synchronous/status/unboost.go b/internal/processing/synchronous/status/unboost.go index 4314e2f..2a13946 100644 --- a/internal/processing/synchronous/status/unboost.go +++ b/internal/processing/synchronous/status/unboost.go @@ -41,11 +41,11 @@ func (p *processor) Unboost(account *gtsmodel.Account, application *gtsmodel.App gtsBoost := >smodel.Status{} where := []db.Where{ { - Key: "boost_of_id", + Key: "boost_of_id", Value: targetStatusID, }, { - Key: "account_id", + Key: "account_id", Value: account.ID, }, } diff --git a/internal/timeline/remove.go b/internal/timeline/remove.go index bb7a1c8..8842c60 100644 --- a/internal/timeline/remove.go +++ b/internal/timeline/remove.go @@ -9,9 +9,9 @@ import ( func (t *timeline) Remove(statusID string) (int, error) { l := t.log.WithFields(logrus.Fields{ - "func": "Remove", + "func": "Remove", "accountTimeline": t.accountID, - "statusID": statusID, + "statusID": statusID, }) t.Lock() defer t.Unlock()