mirror of
https://example.com
synced 2024-11-22 11:26:38 +09:00
chore: stop requiring misskeyVersion in preference backups
This commit is contained in:
parent
788f7ba259
commit
37b75401c7
2 changed files with 3 additions and 2 deletions
|
@ -38,6 +38,7 @@
|
|||
|
||||
## 細かい変更点
|
||||
|
||||
- 設定のバックアップファイルに `misskeyVersion` の値が含まれていなくても警告しないように変更
|
||||
- マージされていない本家版へのプルリクエストを独断でマージ
|
||||
- RTL Layout Support ([!10452](https://git.joinfirefish.org/firefish/firefish/-/merge_requests/10452))
|
||||
- Add language picker to post form ([!10616](https://git.joinfirefish.org/firefish/firefish/-/merge_requests/10616))
|
||||
|
|
|
@ -188,8 +188,8 @@ 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");
|
||||
// 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