Webpack build for branch 11.1-dev: 1fc6e3b91e

This commit is contained in:
Travis CI 2017-05-05 21:23:12 +00:00
parent 83afd297cc
commit 774f80478d
2 changed files with 3 additions and 3 deletions

View file

@ -13214,10 +13214,10 @@ class GuildAuditLogsEntry {
return this.target;
});
} else if (targetType === Targets.INVITE) {
const change = this.changes.find(c => c.name === 'code');
const change = this.changes.find(c => c.key === 'code');
this.target = guild.fetchInvites()
.then(invites => {
this.target = invites.find(i => i.code === (change.new || change.old));
this.target = invites.find(i => i.code === (change.new_value || change.old_value));
return this.target;
});
} else if (targetType === Targets.MESSAGE) {

File diff suppressed because one or more lines are too long