1
0
Fork 1
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:
naskya 2023-12-27 04:39:01 +09:00
parent 788f7ba259
commit 37b75401c7
Signed by: naskya
GPG key ID: 712D413B3A9FED5C
2 changed files with 3 additions and 2 deletions

View file

@ -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))

View file

@ -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