fix(MisskeyIO#872): 消し忘れ (MisskeyIO#875)
Some checks failed
Publish Docker image (io) / Push Docker image to GitHub Container Registry (push) Has been cancelled
Dockle / dockle (push) Has been cancelled
Lint / pnpm_install (push) Has been cancelled
Lint / lint (backend) (push) Has been cancelled
Lint / lint (frontend) (push) Has been cancelled
Lint / lint (misskey-js) (push) Has been cancelled
Lint / lint (sw) (push) Has been cancelled
Lint / typecheck (backend) (push) Has been cancelled
Lint / typecheck (misskey-js) (push) Has been cancelled
Test (backend) / unit (22.x) (push) Has been cancelled
Test (backend) / e2e (22.x) (push) Has been cancelled
Test (frontend) / vitest (22.x) (push) Has been cancelled
Test (production install and build) / production (22.x) (push) Has been cancelled
Test (backend) / validate-api-json (22.x) (push) Has been cancelled

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)) {