Browse Source

change enum's visibility

develop
Kyrylo Stepanov 2 years ago
parent
commit
affb7275c5
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      common-api/src/api.rs

+ 1
- 1
common-api/src/api.rs View File

@@ -44,7 +44,7 @@ pub struct NodeInfo {
44 44
 #[derive(Debug, Serialize, Deserialize)]
45 45
 #[serde(tag = "response", content = "body")]
46 46
 #[serde(rename_all = "snake_case")]
47
-enum ApiResponse<T> {
47
+pub enum ApiResponse<T> {
48 48
     Success(T),
49 49
     Timeout,
50 50
 }

Loading…
Cancel
Save