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
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:
parent
7f3b3cf65f
commit
f2eafaab73
1 changed files with 0 additions and 1 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue