mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
format
This commit is contained in:
1 parent
a01d689ae2
commit
27932854c8
6 files changed
+7
-11
No files matched your search
@@ -2,7 +2,6 @@
|
||||
|
||||
use Ahc\Jwt\JWT;
|
||||
use Appwrite\Auth\Auth;
|
||||
use Appwrite\Auth\Key;
|
||||
use Appwrite\Auth\MFA\Challenge;
|
||||
use Appwrite\Auth\MFA\Type;
|
||||
use Appwrite\Auth\MFA\Type\TOTP;
|
||||
@@ -65,7 +64,6 @@ use Utopia\System\System;
|
||||
use Utopia\Validator\ArrayList;
|
||||
use Utopia\Validator\Assoc;
|
||||
use Utopia\Validator\Boolean;
|
||||
use Utopia\Validator\Integer;
|
||||
use Utopia\Validator\Text;
|
||||
use Utopia\Validator\URL;
|
||||
use Utopia\Validator\WhiteList;
|
||||
@@ -5407,4 +5405,3 @@ App::delete('/v1/account/identities/:identityId')
|
||||
|
||||
return $response->noContent();
|
||||
});
|
||||
|
||||
@@ -2662,4 +2662,4 @@ App::patch('/v1/projects/:projectId/auth/session-invalidation')
|
||||
->setAttribute('auths', $auths));
|
||||
|
||||
$response->dynamic($project, Response::MODEL_PROJECT);
|
||||
});
|
||||
});
|
||||
@@ -2709,4 +2709,4 @@ App::get('/v1/users/usage')
|
||||
'users' => $usage[$metrics[0]]['data'],
|
||||
'sessions' => $usage[$metrics[1]]['data'],
|
||||
]), Response::MODEL_USAGE_USERS);
|
||||
});
|
||||
});
|
||||
@@ -1644,4 +1644,4 @@ if (!empty(Method::getErrors())) {
|
||||
// Modules
|
||||
|
||||
$platform = new Appwrite();
|
||||
$platform->init(Service::TYPE_HTTP);
|
||||
$platform->init(Service::TYPE_HTTP);
|
||||
@@ -72,7 +72,7 @@ class Get extends Base
|
||||
if ($actorId === '' || $actorId === ':actorId') {
|
||||
$actorId = '';
|
||||
}
|
||||
|
||||
|
||||
$actorType = strtolower($actorType);
|
||||
|
||||
if (!\in_array($actorType, ['user', 'team'], true)) {
|
||||
@@ -222,7 +222,7 @@ class Get extends Base
|
||||
$planDataObj = new \stdClass();
|
||||
}
|
||||
|
||||
// Convert subscription data to plain array/object
|
||||
// Convert subscription data to plain array/object
|
||||
$subscriptionData = new \stdClass();
|
||||
if (!$subscriptionDoc->isEmpty()) {
|
||||
$subscriptionData = (object) [
|
||||
|
||||
@@ -2,17 +2,16 @@
|
||||
|
||||
namespace Appwrite\Platform\Modules\Payments\Http\Webhooks\Provider;
|
||||
|
||||
use Appwrite\Event\Event;
|
||||
use Appwrite\Payments\Provider\Registry;
|
||||
use Appwrite\Platform\Modules\Compute\Base;
|
||||
use Appwrite\SDK\Method;
|
||||
use Appwrite\Utopia\Response;
|
||||
use Utopia\Database\Validator\Authorization;
|
||||
use Utopia\Database\Validator\UID;
|
||||
use Appwrite\Event\Event;
|
||||
use Utopia\Platform\Action;
|
||||
use Utopia\Platform\Scope\HTTP;
|
||||
use Utopia\Swoole\Request;
|
||||
use Utopia\Database\Document;
|
||||
use Utopia\Database\Validator\Authorization;
|
||||
|
||||
class Create extends Base
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user