Add networkerror notify

This commit is contained in:
rubikscraft
2022-03-20 22:11:17 +01:00
parent 26c3918bcc
commit 8c88c5f24e
12 changed files with 87 additions and 38 deletions

View File

@@ -87,7 +87,6 @@ export class UserManageController {
@Post('info')
async getUser(@Body() body: UserInfoRequest): Promise<UserInfoResponse> {
console.log(body);
const user = await this.usersService.findOne(body.username);
if (HasFailed(user)) {
this.logger.warn(user.getReason());