From b65a4f05da40a45e33f78fc43c9b8172a170a3df Mon Sep 17 00:00:00 2001 From: SpaceEEC Date: Wed, 26 Jun 2019 20:19:05 +0200 Subject: [PATCH] fix(ClientApplication): fix ternaries --- src/structures/ClientApplication.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/structures/ClientApplication.js b/src/structures/ClientApplication.js index 9288d900f..395d1db59 100644 --- a/src/structures/ClientApplication.js +++ b/src/structures/ClientApplication.js @@ -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; } /**