mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 22:27:48 +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();
|
const serviceAccountObj = serviceAccount.toObject();
|
||||||
|
|
||||||
delete serviceAccountObj.secretHash;
|
delete (serviceAccountObj as any).secretHash;
|
||||||
|
|
||||||
// provision default org-level permission for service account
|
// provision default org-level permission for service account
|
||||||
await new ServiceAccountOrganizationPermission({
|
await new ServiceAccountOrganizationPermission({
|
||||||
|
|||||||
Reference in New Issue
Block a user