mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-27 10:23:32 -06:00
go fmt
This commit is contained in:
parent
ef3d38240b
commit
dea4941b4a
2 changed files with 4 additions and 4 deletions
|
|
@ -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,
|
||||
},
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue