mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
lint
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
use Appwrite\Auth\MFA\Type\TOTP;
|
||||
use Appwrite\Auth\Validator\Phone;
|
||||
use Appwrite\Detector\Detector;
|
||||
use Appwrite\Event\Delete;
|
||||
use Appwrite\Event\Event;
|
||||
use Appwrite\Event\Mail;
|
||||
use Appwrite\Event\Messaging;
|
||||
@@ -11,16 +10,13 @@ use Appwrite\Event\StatsUsage;
|
||||
use Appwrite\Extend\Exception;
|
||||
use Appwrite\Network\Validator\Email as EmailValidator;
|
||||
use Appwrite\Network\Validator\Redirect;
|
||||
use Appwrite\Platform\Workers\Deletes;
|
||||
use Appwrite\SDK\AuthType;
|
||||
use Appwrite\SDK\ContentType;
|
||||
use Appwrite\SDK\Method;
|
||||
use Appwrite\SDK\Response as SDKResponse;
|
||||
use Appwrite\Template\Template;
|
||||
use Appwrite\Utopia\Database\Documents\User;
|
||||
use Appwrite\Utopia\Database\Validator\CustomId;
|
||||
use Appwrite\Utopia\Database\Validator\Queries\Memberships;
|
||||
use Appwrite\Utopia\Database\Validator\Queries\Teams;
|
||||
use Appwrite\Utopia\Request;
|
||||
use Appwrite\Utopia\Response;
|
||||
use libphonenumber\NumberParseException;
|
||||
|
||||
@@ -135,4 +135,4 @@ class Create extends Action
|
||||
->setStatusCode(Response::STATUS_CODE_CREATED)
|
||||
->dynamic($team, Response::MODEL_TEAM);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -96,4 +96,4 @@ class Delete extends Action
|
||||
|
||||
$response->noContent();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -58,4 +58,4 @@ class Get extends Action
|
||||
|
||||
$response->dynamic($team, Response::MODEL_TEAM);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -73,4 +73,4 @@ class Update extends Action
|
||||
|
||||
$response->dynamic($team, Response::MODEL_TEAM);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -101,4 +101,4 @@ class XList extends Action
|
||||
'total' => $total,
|
||||
]), Response::MODEL_TEAM_LIST);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
|
||||
namespace Appwrite\Platform\Modules\Teams\Services;
|
||||
|
||||
use Utopia\Platform\Service;
|
||||
use Appwrite\Platform\Modules\Teams\Http\Teams\Create as CreateTeam;
|
||||
use Appwrite\Platform\Modules\Teams\Http\Teams\Get as GetTeam;
|
||||
use Appwrite\Platform\Modules\Teams\Http\Teams\XList as ListTeams;
|
||||
use Appwrite\Platform\Modules\Teams\Http\Teams\Delete as DeleteTeam;
|
||||
use Appwrite\Platform\Modules\Teams\Http\Teams\Get as GetTeam;
|
||||
use Appwrite\Platform\Modules\Teams\Http\Teams\Name\Update as UpdateTeamName;
|
||||
use Appwrite\Platform\Modules\Teams\Http\Teams\XList as ListTeams;
|
||||
use Utopia\Platform\Service;
|
||||
|
||||
class Http extends Service
|
||||
{
|
||||
@@ -22,4 +22,4 @@ class Http extends Service
|
||||
$this->addAction(DeleteTeam::getName(), new DeleteTeam());
|
||||
$this->addAction(UpdateTeamName::getName(), new UpdateTeamName());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user