fmt + lint

This commit is contained in:
tsmethurst 2021-05-15 11:53:38 +02:00
commit a602a3d9d2
21 changed files with 51 additions and 22 deletions

View file

@ -95,6 +95,7 @@ type Mentionable interface {
withHref
}
// Followable represents the minimum interface for an activitystreams 'follow' activity.
type Followable interface {
withJSONLDId
withTypeName

View file

@ -333,8 +333,8 @@ func (c *converter) ASFollowToFollowRequest(followable Followable) (*gtsmodel.Fo
}
followRequest := &gtsmodel.FollowRequest{
URI: uri,
AccountID: originAccount.ID,
URI: uri,
AccountID: originAccount.ID,
TargetAccountID: targetAccount.ID,
}