mirror of
https://github.com/element-hq/dendrite.git
synced 2025-09-16 14:12:24 +03:00
linter fixes
This commit is contained in:
parent
7311d3e1de
commit
0990676466
6 changed files with 23 additions and 24 deletions
|
@ -204,7 +204,7 @@ func SetDisplayName(
|
|||
// to the provider's pseudo-device and includes only the AccountTypeOIDCService flag. To continue,
|
||||
// we need to replace the admin's device with the user's device
|
||||
var rs userapi.QueryDevicesResponse
|
||||
err := userAPI.QueryDevices(req.Context(), &userapi.QueryDevicesRequest{UserID: userID}, &rs)
|
||||
err = userAPI.QueryDevices(req.Context(), &userapi.QueryDevicesRequest{UserID: userID}, &rs)
|
||||
if err != nil {
|
||||
return util.JSONResponse{
|
||||
Code: http.StatusInternalServerError,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue