mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-11 17:03:10 -06:00
Don't redeclare err
This commit is contained in:
parent
45b1b549cb
commit
f83dadba58
|
|
@ -196,7 +196,7 @@ func createInviteFrom3PIDInvite(
|
|||
},
|
||||
}
|
||||
|
||||
if err := builder.SetContent(content); err != nil {
|
||||
if err = builder.SetContent(content); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue