Add TODO Warning

This commit is contained in:
Bradley Schofield
2022-08-12 17:01:25 +01:00
parent 04a0216ebc
commit 83c1129ed5
+1
View File
@@ -30,6 +30,7 @@ use Utopia\Validator\Boolean;
use MaxMind\Db\Reader;
use Utopia\Validator\Integer;
/** TODO: Remove function when we move to using utopia/platform */
function createUser(string $hash, mixed $hashOptions, string $userId, string $email, string $password, string $name, Database $dbForProject, Stats $usage, Event $events): Document
{
$hashOptionsObject = (\is_string($hashOptions)) ? \json_decode($hashOptions, true) : $hashOptions; // Cast to JSON array