mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
fix linting
This commit is contained in:
parent
8ecd7a634b
commit
c8386e588b
@ -64,7 +64,7 @@ export class User {
|
|||||||
*/
|
*/
|
||||||
// what is publisherId?
|
// what is publisherId?
|
||||||
@Field(() => Number)
|
@Field(() => Number)
|
||||||
publisherId: number
|
publisherId: number
|
||||||
|
|
||||||
@Field(() => KlickTipp)
|
@Field(() => KlickTipp)
|
||||||
klickTipp: KlickTipp
|
klickTipp: KlickTipp
|
||||||
|
|||||||
@ -78,7 +78,7 @@ export class UserResolver {
|
|||||||
emailType: 2,
|
emailType: 2,
|
||||||
login_after_register: true,
|
login_after_register: true,
|
||||||
language: language,
|
language: language,
|
||||||
publisher_id: 0
|
publisher_id: 0,
|
||||||
}
|
}
|
||||||
const result = await apiPost(CONFIG.LOGIN_API_URL + 'createUser', payload)
|
const result = await apiPost(CONFIG.LOGIN_API_URL + 'createUser', payload)
|
||||||
if (!result.success) {
|
if (!result.success) {
|
||||||
@ -147,7 +147,7 @@ export class UserResolver {
|
|||||||
'User.description': description || undefined,
|
'User.description': description || undefined,
|
||||||
'User.username': username || undefined,
|
'User.username': username || undefined,
|
||||||
'User.language': language || undefined,
|
'User.language': language || undefined,
|
||||||
'User.publisher_id' : publisherId || undefined,
|
'User.publisher_id': publisherId || undefined,
|
||||||
'User.password': passwordNew || undefined,
|
'User.password': passwordNew || undefined,
|
||||||
'User.password_old': password || undefined,
|
'User.password_old': password || undefined,
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user