fix(MisskeyIO#872): 消し忘れ (MisskeyIO#875)

This commit is contained in:
あわわわとーにゅ 2025-01-08 06:07:04 +09:00 committed by GitHub
parent 7f3b3cf65f
commit f2eafaab73
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -564,7 +564,6 @@ export class ClientServerService {
fastify.get<{ Params: { user: string; } }>('/users/:user', async (request, reply) => {
const user = await this.usersRepository.findOneBy({
id: request.params.user,
isSuspended: false,
});
if (!user || (user.isDeleted && user.isSuspended)) {