From 697bb569ef41d0927a14c81e5fd8c3ffe6cb6f1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Tue, 14 Jun 2022 11:38:47 +0000 Subject: [PATCH] Fix tests --- app/controllers/api/users.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/controllers/api/users.php b/app/controllers/api/users.php index 8a11fb1157..1f3958d6d0 100644 --- a/app/controllers/api/users.php +++ b/app/controllers/api/users.php @@ -56,8 +56,6 @@ function createUser(string $hash, mixed $hashOptions, string $userId, string $em 'memberships' => null, 'search' => implode(' ', [$userId, $email, $name]) ])); - - return $user; } catch (Duplicate $th) { throw new Exception('Account already exists', 409, Exception::USER_ALREADY_EXISTS); }