We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 964fd22 commit 8c38171Copy full SHA for 8c38171
packages/apps/job-launcher/server/src/modules/encryption/encryption.module.ts
@@ -7,7 +7,7 @@ import { ErrorEncryption } from '../../common/constants/errors';
7
const encryptionProvider: Provider = {
8
provide: Encryption,
9
useFactory: async (pgpConfigService: PGPConfigService) => {
10
- if (!pgpConfigService.encrypt && !pgpConfigService.privateKey) {
+ if (!pgpConfigService.encrypt || !pgpConfigService.privateKey) {
11
return null;
12
}
13
const privateKey = pgpConfigService.privateKey;
0 commit comments