From 2affed9e2647c989e368f7686466909799278017 Mon Sep 17 00:00:00 2001 From: Amanjeet Singh Date: Tue, 1 Oct 2024 15:03:51 +0530 Subject: [PATCH] fix: stopped in upload status (#2072) --- maestro-cli/src/main/java/maestro/cli/api/ApiClient.kt | 1 + maestro-cli/src/main/java/maestro/cli/model/FlowStatus.kt | 1 + 2 files changed, 2 insertions(+) diff --git a/maestro-cli/src/main/java/maestro/cli/api/ApiClient.kt b/maestro-cli/src/main/java/maestro/cli/api/ApiClient.kt index 116e1d0f9f..47c2cf9c5f 100644 --- a/maestro-cli/src/main/java/maestro/cli/api/ApiClient.kt +++ b/maestro-cli/src/main/java/maestro/cli/api/ApiClient.kt @@ -531,6 +531,7 @@ data class UploadStatus( ERROR, CANCELED, WARNING, + STOPPED } diff --git a/maestro-cli/src/main/java/maestro/cli/model/FlowStatus.kt b/maestro-cli/src/main/java/maestro/cli/model/FlowStatus.kt index 64516d4fbd..b1ad10c243 100644 --- a/maestro-cli/src/main/java/maestro/cli/model/FlowStatus.kt +++ b/maestro-cli/src/main/java/maestro/cli/model/FlowStatus.kt @@ -20,6 +20,7 @@ enum class FlowStatus { UploadStatus.Status.ERROR -> ERROR UploadStatus.Status.CANCELED -> CANCELED UploadStatus.Status.WARNING -> WARNING + UploadStatus.Status.STOPPED -> STOPPED } }