Fix typo in function call

This commit is contained in:
Cassowary Rusnov 2023-09-27 11:54:00 -07:00
parent f39c5fcfe7
commit 3aea64056b

View File

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