Skip to content

Commit

Permalink
Merge pull request #22 from Infisical/akhilmhdh-patch-1
Browse files Browse the repository at this point in the history
fix: updated renew to correct endpoint
  • Loading branch information
DanielHougaard authored Nov 15, 2024
2 parents 3a24efb + c6e2663 commit 4f248ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api/dynamic_secrets/renew_lease.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func CallRenewDynamicSecretLeaseV1(httpClient *resty.Client, request RenewDynami
SetResult(&renewResponse).
SetBody(request)

res, err := req.Post("/v1/dynamic-secrets/leases/" + request.LeaseId)
res, err := req.Post("/v1/dynamic-secrets/leases/" + request.LeaseId + "/renew")

if err != nil {
return RenewDynamicSecretLeaseV1Response{}, errors.NewRequestError(callRenewDynamicSecretLeaseV1Operation, err)
Expand Down

0 comments on commit 4f248ca

Please sign in to comment.