fix: remove unnecessary parenthesis from api key generation (#3336)

This commit is contained in:
Owen Voke
2023-02-14 05:52:26 +00:00
committed by GitHub
parent 2d97be0d6c
commit 6bd3f015d6

View File

@@ -546,7 +546,7 @@ class Settings {
}
private generateApiKey(): string {
return Buffer.from(`${Date.now()}${randomUUID()})`).toString('base64');
return Buffer.from(`${Date.now()}${randomUUID()}`).toString('base64');
}
private generateVapidKeys(force = false): void {