Skip to content

Commit

Permalink
fix(sdk): certificate 'disabled' property value gets lost in script e…
Browse files Browse the repository at this point in the history
…xecution
  • Loading branch information
ihexxa committed Sep 23, 2024
1 parent 8ab0b91 commit 7488a09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/insomnia-sdk/src/objects/insomnia.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export async function initInsomniaObject(
const existClientCert = rawObj.clientCertificates != null && rawObj.clientCertificates.length > 0;
const certificate = existClientCert && rawObj.clientCertificates[0] ?
{
disabled: false,
disabled: rawObj.clientCertificates[0].disabled,
name: 'The first certificate from Settings',
matches: [rawObj.clientCertificates[0].host],
key: { src: rawObj.clientCertificates[0].key || '' },
Expand Down

0 comments on commit 7488a09

Please sign in to comment.