Fix bad call
This commit is contained in:
parent
ebd4d4e741
commit
116ade380d
1 changed files with 1 additions and 2 deletions
|
@ -369,9 +369,8 @@ func handleFollow(w http.ResponseWriter, r *http.Request, object map[string]any)
|
|||
return false
|
||||
}
|
||||
if !followed.RestrictedFollow {
|
||||
// TODO: Move this to a separate function
|
||||
go func() {
|
||||
err := AcceptFollow(req.ID, followedId, followedId)
|
||||
err := AcceptFollow(r.Context(), req.ID, followedId, followedId)
|
||||
if err != nil {
|
||||
log.Error().
|
||||
Err(err).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue