diff --git a/backend/src/server/routes/v1/secret-sharing-router.ts b/backend/src/server/routes/v1/secret-sharing-router.ts index d9837b4c5..95fe4e54b 100644 --- a/backend/src/server/routes/v1/secret-sharing-router.ts +++ b/backend/src/server/routes/v1/secret-sharing-router.ts @@ -63,6 +63,7 @@ export const registerSecretSharingRouter = async (server: FastifyZodProvider) => response: { 200: SecretSharingSchema.pick({ encryptedValue: true, + password: true, iv: true, tag: true, expiresAt: true, @@ -84,6 +85,7 @@ export const registerSecretSharingRouter = async (server: FastifyZodProvider) => encryptedValue: sharedSecret.encryptedValue, iv: sharedSecret.iv, tag: sharedSecret.tag, + password: sharedSecret.password, expiresAt: sharedSecret.expiresAt, expiresAfterViews: sharedSecret.expiresAfterViews, accessType: sharedSecret.accessType,