Browse Source

fix type issues

pull/1354/head
Bernd Storath 10 months ago
parent
commit
daf5f17d67
  1. 4
      src/server/utils/WireGuard.ts

4
src/server/utils/WireGuard.ts

@ -260,7 +260,7 @@ Endpoint = ${WG_HOST}:${WG_CONFIG_PORT}`;
expireDate,
}: {
name: string;
expireDate: string;
expireDate: string | null;
}) {
if (!name) {
throw new Error('Missing: Name');
@ -415,7 +415,7 @@ Endpoint = ${WG_HOST}:${WG_CONFIG_PORT}`;
expireDate,
}: {
clientId: string;
expireDate: string;
expireDate: string | null;
}) {
const client = await this.getClient({ clientId });

Loading…
Cancel
Save