feat: resolved bug reported on search and integration failing due to typo in integration field

This commit is contained in:
=
2024-07-30 23:19:07 +05:30
parent 8435b20178
commit 6a156371c0
10 changed files with 30 additions and 24 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ export const fetchProjectSecrets = async ({
};
export const mergePersonalSecrets = (rawSecrets: SecretV3Raw[]) => {
const personalSecrets: Record<string, { id: string; value: string }> = {};
const personalSecrets: Record<string, { id: string; value?: string }> = {};
const secrets: SecretV3RawSanitized[] = [];
rawSecrets.forEach((el) => {
const decryptedSecret: SecretV3RawSanitized = {
+2 -2
View File
@@ -34,7 +34,7 @@ export type SecretV3RawSanitized = {
id: string;
version: number;
key: string;
value: string;
value?: string;
comment?: string;
reminderRepeatDays?: number | null;
reminderNote?: string | null;
@@ -57,7 +57,7 @@ export type SecretV3Raw = {
version: number;
type: string;
secretKey: string;
secretValue: string;
secretValue?: string;
secretComment?: string;
secretReminderNote?: string;
secretReminderRepeatDays?: number;