diff options
Diffstat (limited to 'src/rgw/rgw_rest_client.cc')
-rw-r--r-- | src/rgw/rgw_rest_client.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rgw/rgw_rest_client.cc b/src/rgw/rgw_rest_client.cc index 164fcf59e8b..941856e6006 100644 --- a/src/rgw/rgw_rest_client.cc +++ b/src/rgw/rgw_rest_client.cc @@ -506,7 +506,7 @@ static void grants_by_type_add_one_grant(map<int, string>& grants_by_type, int p s.append(", "); if (const auto user = grant.get_user(); user) { - s.append("id=\"" + user->id.to_str() + "\""); + s.append("id=\"" + to_string(user->id) + "\""); } else if (const auto email = grant.get_email(); email) { s.append("emailAddress=\"" + email->address + "\""); } else if (const auto group = grant.get_group(); group) { |