feat: update frontend queries to retrieve password

This commit is contained in:
lemmyMwaura
2024-08-06 14:08:40 +03:00
parent 6a402950c3
commit 4b07234997
2 changed files with 2 additions and 0 deletions
@@ -58,6 +58,7 @@ export const useGetActiveSharedSecretById = ({
); );
return { return {
encryptedValue: data.encryptedValue, encryptedValue: data.encryptedValue,
password: data.password,
iv: data.iv, iv: data.iv,
tag: data.tag, tag: data.tag,
accessType: data.accessType, accessType: data.accessType,
@@ -30,6 +30,7 @@ export type TViewSharedSecretResponse = {
tag: string; tag: string;
accessType: SecretSharingAccessType; accessType: SecretSharingAccessType;
orgName?: string; orgName?: string;
password?: string;
}; };
export type TDeleteSharedSecretRequest = { export type TDeleteSharedSecretRequest = {