diff --git a/src/app/components/Form/NumberField.vue b/src/app/components/Form/NumberField.vue index 07ad5872..23f5c21f 100644 --- a/src/app/components/Form/NumberField.vue +++ b/src/app/components/Form/NumberField.vue @@ -13,5 +13,5 @@ diff --git a/src/app/components/Form/TextField.vue b/src/app/components/Form/TextField.vue index e62de448..1bf6d26a 100644 --- a/src/app/components/Form/TextField.vue +++ b/src/app/components/Form/TextField.vue @@ -26,5 +26,5 @@ defineProps<{ disabled?: boolean; }>(); -const data = defineModel(); +const data = defineModel(); diff --git a/src/server/utils/WireGuard.ts b/src/server/utils/WireGuard.ts index 0a4a57d8..2da26fce 100644 --- a/src/server/utils/WireGuard.ts +++ b/src/server/utils/WireGuard.ts @@ -209,10 +209,10 @@ class WireGuard { } const [h1, h2, h3, h4] = Array.from(headers); - wgInterface.h1 = h1; - wgInterface.h2 = h2; - wgInterface.h3 = h3; - wgInterface.h4 = h4; + wgInterface.h1 = h1!; + wgInterface.h2 = h2!; + wgInterface.h3 = h3!; + wgInterface.h4 = h4!; Database.interfaces.update(wgInterface); }