File tree Expand file tree Collapse file tree
test/integration/ce/flows Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ export async function executeEngine(
1515) : Promise < string > {
1616 const startTime = performance . now ( ) ;
1717
18- await encryptionKeyInitializer ( ) ;
18+ encryptionKeyInitializer ( ) ;
1919
2020 // TODO: Remove this from the server side
2121 engineInput . publicUrl = await networkUtls . getPublicUrl ( ) ;
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ async function validateEnvPropsOnStartup(): Promise<void> {
6464 ) ;
6565 }
6666
67- await encryptionKeyInitializer ( ) ;
67+ void encryptionKeyInitializer ( ) ;
6868
6969 const jwtSecret = await jwtUtils . getJwtSecret ( ) ;
7070 if ( isNil ( jwtSecret ) ) {
Original file line number Diff line number Diff line change 1- import { encryptUtils , QueueMode } from '@openops/server-shared' ;
1+ import { encryptUtils } from '@openops/server-shared' ;
22import { FlowVersionState , openOpsId } from '@openops/shared' ;
33import { FastifyInstance } from 'fastify' ;
44import { databaseConnection } from '../../../../src/app/database/database-connection' ;
@@ -13,7 +13,7 @@ import {
1313let app : FastifyInstance | null = null ;
1414
1515beforeAll ( async ( ) => {
16- await encryptUtils . loadEncryptionKey ( QueueMode . MEMORY ) ;
16+ encryptUtils . loadEncryptionKey ( ) ;
1717 await databaseConnection ( ) . initialize ( ) ;
1818 app = await setupServer ( ) ;
1919} ) ;
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ let app: FastifyInstance | null = null;
2121
2222beforeAll ( async ( ) => {
2323 await databaseConnection ( ) . initialize ( ) ;
24- await encryptionKeyInitializer ( ) ;
24+ void encryptionKeyInitializer ( ) ;
2525 app = await setupServer ( ) ;
2626} ) ;
2727
Original file line number Diff line number Diff line change 11import { encryptUtils } from './encryption' ;
22
3- export async function encryptionKeyInitializer ( ) : Promise < void > {
3+ export function encryptionKeyInitializer ( ) : void {
44 const encryptionKey = encryptUtils . loadEncryptionKey ( ) ;
55 const isValidHexKey =
66 encryptionKey && / ^ [ A - F a - z 0 - 9 ] { 32 } $ / . test ( encryptionKey ) ;
You can’t perform that action at this time.
0 commit comments