mirror of
https://github.com/danbulant/discord.js
synced 2026-06-07 16:52:16 +00:00
fix(ClientApplication): fix ternaries
This commit is contained in:
parent
1dd4c041e0
commit
b65a4f05da
1 changed files with 3 additions and 3 deletions
|
|
@ -71,10 +71,10 @@ class ClientApplication extends Base {
|
||||||
* @type {?User|Team}
|
* @type {?User|Team}
|
||||||
*/
|
*/
|
||||||
this.owner = data.team ?
|
this.owner = data.team ?
|
||||||
new Team(this.client, data.team) ?
|
new Team(this.client, data.team) :
|
||||||
data.owner :
|
data.owner ?
|
||||||
this.client.users.add(data.owner) :
|
this.client.users.add(data.owner) :
|
||||||
null;
|
null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue