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

pull/3340/head
Owen Voke 2 years ago committed by GitHub
parent 2d97be0d6c
commit 6bd3f015d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save