linter fixes

This commit is contained in:
Roman Isaev 2025-01-09 01:16:11 +00:00
parent 7311d3e1de
commit 0990676466
No known key found for this signature in database
GPG key ID: 7BE2B6A6C89AEC7F
6 changed files with 23 additions and 24 deletions

View file

@ -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,