fix (backend): remove unused export in migration
This commit is contained in:
parent
5a74760252
commit
5cae588c74
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ import * as util from "node:util";
|
||||||
|
|
||||||
const generateKeyPair = util.promisify(crypto.generateKeyPair);
|
const generateKeyPair = util.promisify(crypto.generateKeyPair);
|
||||||
|
|
||||||
export async function genRsaKeyPair(modulusLength = 2048) {
|
async function genRsaKeyPair(modulusLength = 2048) {
|
||||||
return await generateKeyPair("rsa", {
|
return await generateKeyPair("rsa", {
|
||||||
modulusLength,
|
modulusLength,
|
||||||
publicKeyEncoding: {
|
publicKeyEncoding: {
|
||||||
|
|
Loading…
Reference in a new issue