Bernd Storath
8 months ago
No known key found for this signature in database
GPG Key ID: D6C85685A555540F
1 changed files with
2 additions and
2 deletions
-
src/server/utils/WireGuard.ts
|
@ -260,7 +260,7 @@ Endpoint = ${WG_HOST}:${WG_CONFIG_PORT}`; |
|
|
expireDate, |
|
|
expireDate, |
|
|
}: { |
|
|
}: { |
|
|
name: string; |
|
|
name: string; |
|
|
expireDate: string; |
|
|
expireDate: string | null; |
|
|
}) { |
|
|
}) { |
|
|
if (!name) { |
|
|
if (!name) { |
|
|
throw new Error('Missing: Name'); |
|
|
throw new Error('Missing: Name'); |
|
@ -415,7 +415,7 @@ Endpoint = ${WG_HOST}:${WG_CONFIG_PORT}`; |
|
|
expireDate, |
|
|
expireDate, |
|
|
}: { |
|
|
}: { |
|
|
clientId: string; |
|
|
clientId: string; |
|
|
expireDate: string; |
|
|
expireDate: string | null; |
|
|
}) { |
|
|
}) { |
|
|
const client = await this.getClient({ clientId }); |
|
|
const client = await this.getClient({ clientId }); |
|
|
|
|
|
|
|
|