Skip to content

Commit

Permalink
Fix local_user_index_canister_id in community summaries
Browse files Browse the repository at this point in the history
  • Loading branch information
hpeebles authored Dec 20, 2023
1 parent 8677d3e commit 966dd1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/canisters/user/impl/src/model/community.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ impl Community {
pub fn to_summary(&self) -> user_canister::CommunitySummary {
user_canister::CommunitySummary {
community_id: self.community_id,
local_user_index_canister_id: Principal::anonymous(),
local_user_index_canister_id: self.data.local_user_index_canister_id,

Check failure on line 116 in backend/canisters/user/impl/src/model/community.rs

View workflow job for this annotation

GitHub Actions / run clippy

no field `data` on type `&model::community::Community`

Check failure on line 116 in backend/canisters/user/impl/src/model/community.rs

View workflow job for this annotation

GitHub Actions / run unit tests

no field `data` on type `&community::Community`
channels: self
.channels
.values()
Expand Down

0 comments on commit 966dd1b

Please sign in to comment.