Skip to content

Commit

Permalink
Fix Invite constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
abalabahaha committed Oct 14, 2017
1 parent 8623b3d commit 3391e8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/structures/Invite.js
Expand Up @@ -46,7 +46,7 @@ class Invite extends Base {
this.maxUses = data.max_uses !== undefined ? data.max_uses : null;
this.maxAge = data.max_age !== undefined ? data.max_age : null;
this.temporary = data.temporary !== undefined ? data.temporary : null;
this.createdAt = data.created_at !== undefined ? data.created_at : null;
this._createdAt = data.created_at !== undefined ? data.created_at : null;
this.revoked = data.revoked !== undefined ? data.revoked : null;
this.presenceCount = data.approximate_presence_count !== undefined ? data.approximate_presence_count : null;
this.memberCount = data.approximate_member_count !== undefined ? data.approximate_member_count : null;
Expand Down

0 comments on commit 3391e8f

Please sign in to comment.