Skip to content

Commit 14c93f8

Browse files
committed
Fixed unit tests
1 parent 0e67bc5 commit 14c93f8

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

packages/apps/fortune/exchange-oracle/server/src/modules/job/job.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ export class JobService {
326326
) {
327327
try {
328328
const encryption = await Encryption.build(
329-
this.pgpConfigService.privateKey,
329+
this.pgpConfigService.privateKey!,
330330
this.pgpConfigService.passphrase,
331331
);
332332

packages/apps/fortune/exchange-oracle/server/src/modules/storage/storage.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export class StorageService {
5353
const fileContent = await StorageClient.downloadFileFromUrl(url);
5454
if (EncryptionUtils.isEncrypted(fileContent)) {
5555
const encryption = await Encryption.build(
56-
this.pgpConfigService.privateKey,
56+
this.pgpConfigService.privateKey!,
5757
this.pgpConfigService.passphrase,
5858
);
5959

packages/apps/fortune/recording-oracle/src/modules/storage/storage.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export class StorageService {
4949
) {
5050
try {
5151
const encryption = await Encryption.build(
52-
this.pgpConfigService.privateKey,
52+
this.pgpConfigService.privateKey!,
5353
this.pgpConfigService.passphrase,
5454
);
5555

packages/apps/reputation-oracle/server/src/modules/storage/storage.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export class StorageService {
8080
EncryptionUtils.isEncrypted(fileContent)
8181
) {
8282
const encryption = await Encryption.build(
83-
this.pgpConfigService.privateKey,
83+
this.pgpConfigService.privateKey!,
8484
this.pgpConfigService.passphrase,
8585
);
8686
try {

0 commit comments

Comments
 (0)