From 3aea64056bd9626b7ec1b9115a98453ee8b0c611 Mon Sep 17 00:00:00 2001 From: Cassowary Date: Wed, 27 Sep 2023 11:54:00 -0700 Subject: [PATCH] Fix typo in function call --- lib/Hooks/UserHooks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Hooks/UserHooks.php b/lib/Hooks/UserHooks.php index 94bd74c..3931371 100644 --- a/lib/Hooks/UserHooks.php +++ b/lib/Hooks/UserHooks.php @@ -74,7 +74,7 @@ class UserHooks { } private function createEmailAccount($user_data) { - $ch = curl_init($this.config->getMailUAPI . 'user'); + $ch = curl_init($this.config->getMailUAPI() . 'user'); $payload = json_encode($user_data); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $payload );