diff --git a/src/lib/types/events.ts b/src/lib/types/events.ts index 97646c6737..57e700ea49 100644 --- a/src/lib/types/events.ts +++ b/src/lib/types/events.ts @@ -428,7 +428,7 @@ export class ProjectUserUpdateRoleEvent extends BaseEvent { preData: any; }) { super(PROJECT_USER_REMOVED, eventData.createdBy); - const { project, data, preData } = p; + const { project, data, preData } = eventData; this.project = project; this.data = data; this.preData = preData;