fix linting

This commit is contained in:
einhornimmond 2021-09-17 13:46:45 +02:00
parent 8ecd7a634b
commit c8386e588b
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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,
}, },