mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-09 19:28:33 +00:00
fix: fix type assersion error
This commit is contained in:
@@ -267,7 +267,7 @@ export const secretSharingServiceFactory = ({
|
||||
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;
|
||||
|
||||
// reduce the view count when the password matches (will be returned to the client).
|
||||
|
||||
Reference in New Issue
Block a user