mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
Fix exported settings being not importable
This commit is contained in:
parent
e492a581b3
commit
8c6f98cfc3
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ function validate(profile: unknown): void {
|
|||
if (!isObject(profile)) throw new Error("not an object");
|
||||
|
||||
// Check if unnecessary properties exist
|
||||
if (Object.keys(profile).some((key) => !profileProps.includes(key)))
|
||||
if (Object.keys(profile).some((key) => !profileProps.includes(key) && key !== "host"))
|
||||
throw new Error("Unnecessary properties exist");
|
||||
|
||||
if (!profile.name) throw new Error("Missing required prop: name");
|
||||
|
|
Loading…
Add table
Reference in a new issue