From e7b376e7223ea3a20caeee7ef20657d4a3eb95f9 Mon Sep 17 00:00:00 2001 From: Marc Beyer Date: Mon, 20 Dec 2021 19:38:25 +0100 Subject: [PATCH] Fixed userId when creating an event --- client/app/src/main/java/main/CreateEventController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/app/src/main/java/main/CreateEventController.java b/client/app/src/main/java/main/CreateEventController.java index e35e339..f3923e8 100644 --- a/client/app/src/main/java/main/CreateEventController.java +++ b/client/app/src/main/java/main/CreateEventController.java @@ -54,7 +54,7 @@ public class CreateEventController { textStart.getText(), textEnd.getText(), datePickerDate.getValue().atStartOfDay(), - 1 + (int)DataController.USER_ID ); System.out.println(event.getAsUrlParam());