diff --git a/routers/api/v1/activitypub/repository.go b/routers/api/v1/activitypub/repository.go index d88f554d13..6f402b6bb2 100644 --- a/routers/api/v1/activitypub/repository.go +++ b/routers/api/v1/activitypub/repository.go @@ -176,7 +176,7 @@ func RepositoryInbox(ctx *context.APIContext) { // make http client // TODO: this should also work without autorizing the api call // doer might be empty host := activity.To.GetID().String() - client, err := api.NewClient(ctx, ctx.Doer, host) // ToDo: This is hacky, we need a hostname from somewhere + client, err := api.NewClient(ctx, actionsUser, host) // ToDo: This is hacky, we need a hostname from somewhere if err != nil { panic(err) }