mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 11:27:32 +00:00
Change +metadata to metadata
This commit is contained in:
@@ -34,7 +34,7 @@ export const validateClientForIntegration = async ({
|
|||||||
if (!integration) throw IntegrationNotFoundError();
|
if (!integration) throw IntegrationNotFoundError();
|
||||||
|
|
||||||
const integrationAuth = await IntegrationAuth.findById(integration.integrationAuth).select(
|
const integrationAuth = await IntegrationAuth.findById(integration.integrationAuth).select(
|
||||||
"+refreshCiphertext +refreshIV +refreshTag +accessCiphertext +accessIV +accessTag +accessExpiresAt +metadata"
|
"+refreshCiphertext +refreshIV +refreshTag +accessCiphertext +accessIV +accessTag +accessExpiresAt metadata"
|
||||||
);
|
);
|
||||||
|
|
||||||
if (!integrationAuth) throw IntegrationAuthNotFoundError();
|
if (!integrationAuth) throw IntegrationAuthNotFoundError();
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ const validateClientForIntegrationAuth = async ({
|
|||||||
const integrationAuth = await IntegrationAuth.findById(integrationAuthId)
|
const integrationAuth = await IntegrationAuth.findById(integrationAuthId)
|
||||||
.populate<{ workspace: IWorkspace }>("workspace")
|
.populate<{ workspace: IWorkspace }>("workspace")
|
||||||
.select(
|
.select(
|
||||||
"+refreshCiphertext +refreshIV +refreshTag +accessCiphertext +accessIV +accessTag +accessExpiresAt +metadata"
|
"+refreshCiphertext +refreshIV +refreshTag +accessCiphertext +accessIV +accessTag +accessExpiresAt metadata"
|
||||||
);
|
);
|
||||||
|
|
||||||
if (!integrationAuth) throw IntegrationAuthNotFoundError();
|
if (!integrationAuth) throw IntegrationAuthNotFoundError();
|
||||||
|
|||||||
Reference in New Issue
Block a user