From eec5c86cb30824bb7393304150a1d67a32a3e9fa 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 3f82eb7a7..c17b6844d 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 fd0f79510..7186ec895 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 }} - + -->