mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
cleaned graphql checkUsername Response
This commit is contained in:
parent
d1ae8a9537
commit
973fad7ea9
@ -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
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user