Skip to content

Commit

Permalink
fix: ca and certs are not included in loading db
Browse files Browse the repository at this point in the history
  • Loading branch information
ihexxa committed Oct 22, 2024
1 parent 1514992 commit d158ba5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/insomnia-inso/src/db/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import { stat } from 'fs/promises';
import { CaCertificate } from 'insomnia/src/models/ca-certificate';
import { ClientCertificate } from 'insomnia/src/models/client-certificate';

import { logger } from '../cli';
import gitAdapter from './adapters/git-adapter';
Expand All @@ -23,6 +25,8 @@ export interface Database {
WorkspaceMeta: WorkspaceMeta[];
UnitTestSuite: UnitTestSuite[];
UnitTest: UnitTest[];
ClientCertificate: ClientCertificate[];
caCertificate: CaCertificate[];
}

export const emptyDb = (): Database => ({
Expand All @@ -34,6 +38,8 @@ export const emptyDb = (): Database => ({
WorkspaceMeta: [],
UnitTest: [],
UnitTestSuite: [],
ClientCertificate: [],
caCertificate: [],
});

export type DbAdapter = (
Expand Down

0 comments on commit d158ba5

Please sign in to comment.