Skip to content

Commit 4f3d432

Browse files
dashboard id in list response
1 parent cd58a46 commit 4f3d432

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/handlers/http/users/dashboards.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ pub async fn list() -> Result<impl Responder, DashboardError> {
5050
"modified".to_string(),
5151
serde_json::Value::String(dashboard.modified.unwrap().to_string()),
5252
);
53+
map.insert(
54+
"dashboard_id".to_string(),
55+
serde_json::Value::String(dashboard.dashboard_id.unwrap().to_string()),
56+
);
5357
map
5458
})
5559
.collect();

0 commit comments

Comments
 (0)