diff --git a/packages/backend/src/server/api/mastodon/endpoints/account.ts b/packages/backend/src/server/api/mastodon/endpoints/account.ts index 17ec9a97dd..6f6999f2e1 100644 --- a/packages/backend/src/server/api/mastodon/endpoints/account.ts +++ b/packages/backend/src/server/api/mastodon/endpoints/account.ts @@ -35,15 +35,14 @@ export class ApiAccountMastodon { public register(fastify: FastifyInstance, upload: ReturnType): void { fastify.get('/v1/accounts/verify_credentials', async (_request, reply) => { - const client = await this.clientService.getClient(_request); + const client = this.clientService.getClient(_request); const data = await client.verifyAccountCredentials(); const acct = await this.mastoConverters.convertAccount(data.data); const response = Object.assign({}, acct, { source: { - // TODO move these into the convertAccount logic directly note: acct.note, fields: acct.fields, - privacy: '', + privacy: 'public', sensitive: false, language: '', },