From 93e9e449ec18e3c752092e3e4a5a0f0923d3dab7 Mon Sep 17 00:00:00 2001 From: Two Date: Sat, 11 Sep 2021 19:20:23 -0400 Subject: [PATCH] Update House.ts --- lib/Collections/House.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/Collections/House.ts b/lib/Collections/House.ts index 08b57e2..6809efd 100644 --- a/lib/Collections/House.ts +++ b/lib/Collections/House.ts @@ -88,13 +88,13 @@ export class House extends BaseCollection { if (!useInvite.data) throw 'failed_to_use_invite'; // Fetch the house from the house store by the ID and return that with the callback - return await this.collect(getInvite.data.data.house.id, { - id: getInvite.data.data.house.id, - name: getInvite.data.data.house.name, - owner: this.client?.users.resolve(getInvite.data.data.house.owner_id), - icon: getInvite.data.data.house.icon, - members: getInvite.data.data.house.members, - rooms: getInvite.data.data.house.rooms + return await this.collect(getInvite.data.house.id, { + id: getInvite.data.house.id, + name: getInvite.data.house.name, + owner: this.client?.users.resolve(getInvite.data.house.owner_id), + icon: getInvite.data.house.icon, + members: getInvite.data.house.members, + rooms: getInvite.data.house.rooms }); }