Skip to content

Commit

Permalink
chore: leave member should not be banned
Browse files Browse the repository at this point in the history
  • Loading branch information
mubarak23 committed Oct 12, 2024
1 parent 60dc998 commit 49e1004
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/community/community.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ pub mod CommunityComponent {
community_id: 0,
total_publications: 0,
community_token_id: 0,
ban_status: true
ban_status: false
};
self.community_member.write((community_id, profile_caller), updated_member_details);
let community_total_members = community.community_total_members - 1;
Expand Down

0 comments on commit 49e1004

Please sign in to comment.