chore: stop requiring misskeyVersion in preference backups
This commit is contained in:
parent
020c421c9b
commit
20ca238b59
1 changed files with 0 additions and 2 deletions
|
@ -191,8 +191,6 @@ function validate(profile: unknown): void {
|
|||
throw new Error("Unnecessary properties exist");
|
||||
|
||||
if (!profile.name) throw new Error("Missing required prop: name");
|
||||
if (!profile.misskeyVersion)
|
||||
throw new Error("Missing required prop: misskeyVersion");
|
||||
|
||||
// Check if createdAt and updatedAt is Date
|
||||
// https://zenn.dev/lollipop_onl/articles/eoz-judge-js-invalid-date
|
||||
|
|
Loading…
Reference in a new issue