cleaned graphql checkUsername Response

This commit is contained in:
Ulf Gebhardt 2021-10-22 02:44:54 +02:00
parent d1ae8a9537
commit 973fad7ea9
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -6,16 +6,8 @@ import { ObjectType, Field } from 'type-graphql'
export class CheckUsernameResponse {
constructor(json: any) {
this.state = json.state
this.msg = json.msg
this.groupId = json.group_id
}
@Field(() => String)
state: string
@Field(() => String)
msg?: string
@Field(() => Number)
groupId?: number
}