diff --git a/composer.lock b/composer.lock index a66a959b7c..fbc8d019d7 100644 --- a/composer.lock +++ b/composer.lock @@ -5245,5 +5245,5 @@ "platform-overrides": { "php": "8.0" }, - "plugin-api-version": "2.2.0" + "plugin-api-version": "2.3.0" } diff --git a/src/Appwrite/CLI/Tasks.php b/src/Appwrite/CLI/Tasks.php deleted file mode 100644 index 7f07b8137a..0000000000 --- a/src/Appwrite/CLI/Tasks.php +++ /dev/null @@ -1,13 +0,0 @@ -addService('cliTasks', new TasksService()); - } -} diff --git a/src/Appwrite/Platform/Appwrite.php b/src/Appwrite/Platform/Appwrite.php new file mode 100644 index 0000000000..187cabdeea --- /dev/null +++ b/src/Appwrite/Platform/Appwrite.php @@ -0,0 +1,13 @@ +addService('tasks', new Tasks()); + } +} diff --git a/src/Appwrite/CLI/TasksService.php b/src/Appwrite/Platform/Tasks.php similarity index 62% rename from src/Appwrite/CLI/TasksService.php rename to src/Appwrite/Platform/Tasks.php index 12617ec33f..2ca169a201 100644 --- a/src/Appwrite/CLI/TasksService.php +++ b/src/Appwrite/Platform/Tasks.php @@ -1,21 +1,21 @@