Skip to content

Commit 0fb2180

Browse files
camel case in listing dashboard
1 parent 3ca8f87 commit 0fb2180

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/users/dashboards.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ impl Dashboard {
119119

120120
if let Some(dashboard_id) = &self.dashboard_id {
121121
map.insert(
122-
"dashboard_id".to_string(),
122+
"dashboardId".to_string(),
123123
serde_json::Value::String(dashboard_id.to_string()),
124124
);
125125
}
@@ -136,7 +136,7 @@ impl Dashboard {
136136
}
137137

138138
map.insert(
139-
"is_favorite".to_string(),
139+
"isFavorite".to_string(),
140140
serde_json::Value::Bool(self.is_favorite.unwrap_or(false)),
141141
);
142142

0 commit comments

Comments
 (0)