This commit is contained in:
Jake Barnby
2025-08-20 17:50:35 +12:00
parent 73a1e18a43
commit aa63a8d698
4 changed files with 48 additions and 25 deletions
@@ -20,4 +20,4 @@ class Action extends UtopiaAction
}
return parent::setHttpPath($path);
}
}
}
@@ -71,7 +71,7 @@ class Create extends Action
->callback($this->action(...));
}
public function action(string $databaseId, string $name, bool $enabled, string $type, UtopiaResponse $response, Database $dbForProject, Event $queueForEvents): void
public function action(string $databaseId, string $name, bool $enabled, UtopiaResponse $response, Database $dbForProject, Event $queueForEvents): void
{
$databaseId = $databaseId == 'unique()' ? ID::unique() : $databaseId;
@@ -12,7 +12,6 @@ use Appwrite\Utopia\Response as UtopiaResponse;
use Utopia\Swoole\Response as SwooleResponse;
use Utopia\Validator\Boolean;
use Utopia\Validator\Text;
use Utopia\Validator\WhiteList;
class Create extends DatabaseCreate
{