Skip to content

Commit a51c789

Browse files
committed
fix: rectify queried field in get-committee request
1 parent 4bdfc79 commit a51c789

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/directus.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ pub async fn get_committee() -> Result<Vec<Committee>, Error> {
4444

4545
let response = Client::new()
4646
.get(format!(
47-
"{}/items/association_memberships?fields=member.id,member.surname,member.poll_count",
47+
"{}/items/association_memberships?fields=member.id,member.name,member.poll_count",
4848
config().directus_url
4949
))
5050
.bearer_auth(&config().directus_token)

0 commit comments

Comments
 (0)