mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
upgrade major version of mongoose from v6 to v7
This commit is contained in:
@@ -87,7 +87,7 @@ export const createServiceAccount = async (req: Request, res: Response) => {
|
||||
|
||||
const serviceAccountObj = serviceAccount.toObject();
|
||||
|
||||
delete serviceAccountObj.secretHash;
|
||||
delete (serviceAccountObj as any).secretHash;
|
||||
|
||||
// provision default org-level permission for service account
|
||||
await new ServiceAccountOrganizationPermission({
|
||||
|
||||
Reference in New Issue
Block a user