1
0
Fork 0
mirror of synced 2024-09-09 14:21:24 +12:00

more naming refactor

This commit is contained in:
Damodar Lohani 2022-08-02 01:37:00 +00:00
parent 2df3bc813a
commit 0331776614
2 changed files with 4 additions and 4 deletions

View file

@ -2,7 +2,7 @@
namespace Appwrite\CLI\Tasks;
use Appwrite\Platform\Action;
use Appwrite\Platform\Task;
use Throwable;
use Exception;
use Appwrite\Stats\Usage as InfluxUsage;
@ -11,7 +11,7 @@ use Utopia\App;
use Utopia\CLI\Console;
use Utopia\Database\Validator\Authorization;
class Usage extends Action
class Usage extends Task
{
public const NAME = 'usage';

View file

@ -3,7 +3,7 @@
namespace Appwrite\Platform;
use Utopia\Database\Database;
use Utopia\Platform\Action as PlatformAction;
use Utopia\Platform\Action;
use Exception;
use InfluxDB\Database as InfluxDatabase;
use Utopia\App;
@ -15,7 +15,7 @@ use Utopia\Registry\Registry;
use Utopia\Logger\Log;
use Throwable;
abstract class Action extends PlatformAction
abstract class Task extends Action
{
protected function logError(Registry $register, Throwable $error, string $action = 'syncUsageStats')
{