Fix error in function call

This commit is contained in:
Cassowary Rusnov 2023-09-27 11:56:16 -07:00
parent 3aea64056b
commit aef194c55d

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