Placate the almighty linter

This commit is contained in:
Neil Alexander 2022-07-21 14:12:16 +01:00
parent 7ca0c189e1
commit 3fe36d2e7e
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -71,7 +71,7 @@ func (r *Inviter) PerformInvite(
if !isOriginLocal && !isTargetLocal {
res.Error = &api.PerformError{
Code: api.PerformErrorBadRequest,
Msg: fmt.Sprintf("The invite must be either from or to a local user"),
Msg: "The invite must be either from or to a local user",
}
return nil, nil
}