From 169d61f0ade9d981243a2726f1fb14c118b87aa9 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Mon, 1 May 2023 23:08:35 -0700 Subject: [PATCH] disable post imports for now --- packages/backend/src/server/api/endpoints.ts | 2 +- packages/client/src/pages/settings/import-export.vue | 11 ++++------- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/packages/backend/src/server/api/endpoints.ts b/packages/backend/src/server/api/endpoints.ts index 3f82eb7a73..c17b6844d5 100644 --- a/packages/backend/src/server/api/endpoints.ts +++ b/packages/backend/src/server/api/endpoints.ts @@ -533,7 +533,7 @@ const eps = [ ["i/export-following", ep___i_exportFollowing], ["i/export-mute", ep___i_exportMute], ["i/export-notes", ep___i_exportNotes], - ["i/import-posts", ep___i_importPosts], + // ["i/import-posts", ep___i_importPosts], ["i/export-user-lists", ep___i_exportUserLists], ["i/favorites", ep___i_favorites], ["i/gallery/likes", ep___i_gallery_likes], diff --git a/packages/client/src/pages/settings/import-export.vue b/packages/client/src/pages/settings/import-export.vue index fd0f795107..7186ec8950 100644 --- a/packages/client/src/pages/settings/import-export.vue +++ b/packages/client/src/pages/settings/import-export.vue @@ -16,23 +16,20 @@ {{ i18n.ts.export }} - + - + {{ i18n.ts.import }} - + -->