more naming refactor
This commit is contained in:
parent
2df3bc813a
commit
0331776614
2 changed files with 4 additions and 4 deletions
|
@ -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';
|
||||
|
||||
|
|
|
@ -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')
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue