From 388dd829b9200899546cf7e5f7b47c2862357606 Mon Sep 17 00:00:00 2001 From: Bartlomiej Obecny Date: Sun, 24 Jan 2021 03:51:26 +0100 Subject: [PATCH] chore: fixing status code aligning it with proto (#1860) --- api/src/trace/status.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/api/src/trace/status.ts b/api/src/trace/status.ts index 1fbae609c99..c3dc42a4b47 100644 --- a/api/src/trace/status.ts +++ b/api/src/trace/status.ts @@ -25,14 +25,14 @@ export interface Status { */ export enum StatusCode { /** - * The operation has been validated by an Application developer or - * Operator to have completed successfully. + * The default status. */ - OK = 0, + UNSET = 0, /** - * The default status. + * The operation has been validated by an Application developer or + * Operator to have completed successfully. */ - UNSET = 1, + OK = 1, /** * The operation contains an error. */