chore: format code and add prettier

This commit is contained in:
2023-03-10 13:49:33 +01:00
parent d1ff4ec278
commit eb579289f0
8 changed files with 100 additions and 53 deletions
+1 -5
View File
@@ -43,11 +43,7 @@ const PUBLIC_KEY_PEM =
'HwIDAQAB\n' +
'-----END PUBLIC KEY-----\n'
const createCertificate = ({
publicKey,
privateKey,
jwksOrigin
}) => {
const createCertificate = ({ publicKey, privateKey, jwksOrigin }) => {
const cert = forge.pki.createCertificate()
cert.publicKey = publicKey
cert.serialNumber = '123'