mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 07:27:43 +00:00
fix: fix type assersion error
This commit is contained in:
@@ -267,7 +267,7 @@ export const secretSharingServiceFactory = ({
|
|||||||
message: "Something went wrong"
|
message: "Something went wrong"
|
||||||
});
|
});
|
||||||
|
|
||||||
const isMatch = await bcrypt.compare(password, sharedSecret.password as string);
|
const isMatch = await bcrypt.compare(password, sharedSecret.password);
|
||||||
if (!isMatch) return undefined;
|
if (!isMatch) return undefined;
|
||||||
|
|
||||||
// reduce the view count when the password matches (will be returned to the client).
|
// reduce the view count when the password matches (will be returned to the client).
|
||||||
|
|||||||
Reference in New Issue
Block a user