mirror of
https://github.com/element-hq/dendrite.git
synced 2025-09-13 21:02:25 +03:00
Linting
This commit is contained in:
parent
af5678a73e
commit
982440285e
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ func (c *Creator) PerformCreateRoom(ctx context.Context, userID spec.UserID, roo
|
|||
util.GetLogger(ctx).WithError(err).Error("Failed to make the create event")
|
||||
return "", jsonErr
|
||||
}
|
||||
if err := authEvents.AddEvent(createEvent); err != nil {
|
||||
if err = authEvents.AddEvent(createEvent); err != nil {
|
||||
util.GetLogger(ctx).WithError(err).Error("authEvents.AddEvent failed")
|
||||
return "", &util.JSONResponse{
|
||||
Code: http.StatusInternalServerError,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue