From faa87469ff32f0ee90f18a0bc9e9b2a0a0766de9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivar=20Conradi=20=C3=98sthus?= Date: Thu, 24 Feb 2022 14:59:16 +0100 Subject: [PATCH] Update src/lib/types/events.ts Co-authored-by: Fredrik Strand Oseberg --- src/lib/types/events.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;