Skip to content

Commit 0a0453b

Browse files
committed
Export encryption service
1 parent 06ab813 commit 0a0453b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/composition.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ export const projectRepository = new ProjectRepository({
178178
repository: projectUserDataRepository
179179
})
180180

181-
const encryptionService = new RsaEncryptionService({
181+
export const encryptionService = new RsaEncryptionService({
182182
publicKey: Buffer.from(env.getOrThrow("ENCRYPTION_PUBLIC_KEY_BASE_64"), "base64").toString("utf-8"),
183183
privateKey: Buffer.from(env.getOrThrow("ENCRYPTION_PRIVATE_KEY_BASE_64"), "base64").toString("utf-8")
184184
})

0 commit comments

Comments
 (0)