diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index f73451f..917fbd7 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,13 +4,8 @@
-
-
-
-
-
-
-
+
+
@@ -150,7 +145,8 @@
-
+
+
true
diff --git a/pkg/server/realms_api.go b/pkg/server/realms_api.go
index c8daeb1..a14a1ca 100644
--- a/pkg/server/realms_api.go
+++ b/pkg/server/realms_api.go
@@ -69,7 +69,7 @@ func createRealm(c *fiber.Ctx) error {
IsPublic: data.IsPublic,
IsCommunity: data.IsCommunity,
AccountID: user.ID,
- })
+ }, user)
if err != nil {
return fiber.NewError(fiber.StatusBadRequest, err.Error())