Clear a whole bunch of lint issues

This commit is contained in:
Neil Alexander 2020-09-04 16:17:02 +01:00
parent ff65f0ec7b
commit 2ccd4fa069
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
7 changed files with 20 additions and 26 deletions

View file

@ -178,7 +178,7 @@ func (s *peekStatements) SelectPeekingDevices(
return nil, err
}
devices := result[roomID]
devices = append(devices, types.PeekingDevice{userID, deviceID})
devices = append(devices, types.PeekingDevice{UserID: userID, DeviceID: deviceID})
result[roomID] = devices
}
return result, nil