diff --git a/backend/src/plugins/Logs/events/LogsGuildBanEvts.ts b/backend/src/plugins/Logs/events/LogsGuildBanEvts.ts index e5805364..25c4c808 100644 --- a/backend/src/plugins/Logs/events/LogsGuildBanEvts.ts +++ b/backend/src/plugins/Logs/events/LogsGuildBanEvts.ts @@ -11,7 +11,7 @@ export const LogsGuildBanAddEvt = logsEvent({ const user = meta.args.user; const relevantAuditLogEntry = await findRelevantAuditLogEntry( - pluginData.guildConfig, + pluginData.guild, ErisConstants.AuditLogActions.MEMBER_BAN_ADD, user.id, );