From 288fa1143d3a2c8a92a84ee1c4ea7661e0554c4c Mon Sep 17 00:00:00 2001 From: Mar0xy Date: Wed, 18 Oct 2023 04:32:40 +0200 Subject: [PATCH] upd: display correct `approval_required` value on masto instance endpoint --- packages/backend/src/server/api/mastodon/endpoints/meta.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/server/api/mastodon/endpoints/meta.ts b/packages/backend/src/server/api/mastodon/endpoints/meta.ts index 5c5e1e2ad6..61713b3415 100644 --- a/packages/backend/src/server/api/mastodon/endpoints/meta.ts +++ b/packages/backend/src/server/api/mastodon/endpoints/meta.ts @@ -28,7 +28,7 @@ export async function getInstance( thumbnail: meta.backgroundImageUrl || '/static-assets/transparent.png', languages: meta.langs, registrations: !meta.disableRegistration || response.registrations, - approval_required: !response.registrations, + approval_required: meta.approvalRequiredForSignup, invites_enabled: response.registrations, configuration: { accounts: {