fix(ClientApplication): fix ternaries

This commit is contained in:
SpaceEEC 2019-06-26 20:19:05 +02:00
parent 1dd4c041e0
commit b65a4f05da
No known key found for this signature in database
GPG key ID: 8C8A2E338661B871

View file

@ -71,10 +71,10 @@ class ClientApplication extends Base {
* @type {?User|Team}
*/
this.owner = data.team ?
new Team(this.client, data.team) ?
data.owner :
new Team(this.client, data.team) :
data.owner ?
this.client.users.add(data.owner) :
null;
null;
}
/**