diff --git a/sdk/keyvault/Azure.Security.KeyVault.Certificates/src/CertificateClient.cs b/sdk/keyvault/Azure.Security.KeyVault.Certificates/src/CertificateClient.cs index b73c06e78c10b..88657d0b52df9 100644 --- a/sdk/keyvault/Azure.Security.KeyVault.Certificates/src/CertificateClient.cs +++ b/sdk/keyvault/Azure.Security.KeyVault.Certificates/src/CertificateClient.cs @@ -1448,7 +1448,7 @@ public virtual Response MergeCertificate(CertificateMerge { Response certificate = _pipeline.SendRequest(RequestMethod.Post, () => new CertificateWithPolicy(), cancellationToken, CertificatesPath, certificateMergeOptions.Name, "/pending/merge"); - return Response.FromValue(certificate.GetRawResponse(), certificate.Value); + return Response.FromValue(certificate.Value, certificate.GetRawResponse()); } catch (Exception e) { @@ -1475,7 +1475,7 @@ public virtual async Task> MergeCertificateAsync { Response certificate = await _pipeline.SendRequestAsync(RequestMethod.Post, () => new CertificateWithPolicy(), cancellationToken, CertificatesPath, certificateMergeOptions.Name, "/pending/merge").ConfigureAwait(false); - return Response.FromValue(certificate.GetRawResponse(), certificate.Value); + return Response.FromValue(certificate.Value, certificate.GetRawResponse()); } catch (Exception e) {