Fix the list of users with access to a collection to display correctly.

https://github.com/dani-garcia/bitwarden_rs/issues/364
This commit is contained in:
Stephen White committed 2019-01-25 14:18:06 +00:00
1 parent 9d027b96d8
commit 928ad6c1d8
2 files changed
+3 -13

No files matched your search

+1 -5
View File
@@ -375,11 +375,7 @@ fn get_collection_users(org_id: String, coll_id: String, _headers: AdminHeaders,
})
.collect();
Ok(Json(json!({
"Data": user_list,
"Object": "list",
"ContinuationToken": null,
})))
Ok(Json(json!(user_list)))
}
#[derive(FromForm)]