fix: provider -> configuration

This commit is contained in:
Piyush Gupta
2025-12-04 02:16:58 +05:30
parent 23e22eae95
commit 313fc3f761
2 changed files with 17 additions and 20 deletions
+2 -2
View File
@@ -20,7 +20,7 @@ export const useAddExternalKms = (orgId: string) => {
const { data } = await apiRequest.post(`/api/v1/external-kms/${providerPath}`, {
name,
description,
provider: provider.inputs
configuration: provider.inputs
});
return data;
@@ -46,7 +46,7 @@ export const useUpdateExternalKms = (orgId: string) => {
const { data } = await apiRequest.patch(`/api/v1/external-kms/${providerPath}/${kmsId}`, {
name,
description,
provider: provider.inputs
configuration: provider.inputs
});
return data;