fix: Add missing WhiteList import in teams controller

The WhiteList validator was used at lines 486 and 1090 but never imported,
causing a "Class not found" error and 500 response instead of proper validation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jake Barnby
2026-02-13 02:36:29 +13:00
co-authored by Claude Opus 4.6
parent cee77d0564
commit 0e6fa7f300
+1
View File
@@ -56,6 +56,7 @@ use Utopia\Locale\Locale;
use Utopia\System\System;
use Utopia\Validator\ArrayList;
use Utopia\Validator\Assoc;
use Utopia\Validator\WhiteList;
use Utopia\Validator\Boolean;
use Utopia\Validator\Text;