go fmt
This commit is contained in:
parent
ef3d38240b
commit
dea4941b4a
|
@ -41,11 +41,11 @@ func (p *processor) Unboost(account *gtsmodel.Account, application *gtsmodel.App
|
||||||
gtsBoost := >smodel.Status{}
|
gtsBoost := >smodel.Status{}
|
||||||
where := []db.Where{
|
where := []db.Where{
|
||||||
{
|
{
|
||||||
Key: "boost_of_id",
|
Key: "boost_of_id",
|
||||||
Value: targetStatusID,
|
Value: targetStatusID,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Key: "account_id",
|
Key: "account_id",
|
||||||
Value: account.ID,
|
Value: account.ID,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,9 +9,9 @@ import (
|
||||||
|
|
||||||
func (t *timeline) Remove(statusID string) (int, error) {
|
func (t *timeline) Remove(statusID string) (int, error) {
|
||||||
l := t.log.WithFields(logrus.Fields{
|
l := t.log.WithFields(logrus.Fields{
|
||||||
"func": "Remove",
|
"func": "Remove",
|
||||||
"accountTimeline": t.accountID,
|
"accountTimeline": t.accountID,
|
||||||
"statusID": statusID,
|
"statusID": statusID,
|
||||||
})
|
})
|
||||||
t.Lock()
|
t.Lock()
|
||||||
defer t.Unlock()
|
defer t.Unlock()
|
||||||
|
|
Loading…
Reference in New Issue