From 20ca238b593babafe51be390c670cc70c44b8437 Mon Sep 17 00:00:00 2001 From: naskya Date: Fri, 1 Mar 2024 07:33:59 +0900 Subject: [PATCH] chore: stop requiring misskeyVersion in preference backups --- packages/client/src/pages/settings/preferences-backups.vue | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/client/src/pages/settings/preferences-backups.vue b/packages/client/src/pages/settings/preferences-backups.vue index 56f478e7c2..6932ac2a43 100644 --- a/packages/client/src/pages/settings/preferences-backups.vue +++ b/packages/client/src/pages/settings/preferences-backups.vue @@ -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