1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

Update src/lib/types/events.ts

Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
This commit is contained in:
Ivar Conradi Østhus 2022-02-24 14:59:16 +01:00
parent 7f391e2b48
commit faa87469ff

View File

@ -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;