Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ismellike committed Jul 2, 2024
1 parent 29810d8 commit cb0b7b5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion contracts/arena-competition-enrollment/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ pub struct CompetitionInfoResponse {

impl EnrollmentEntry {
pub fn into_response(self, deps: Deps, id: Uint128) -> StdResult<EnrollmentEntryResponse> {
let current_members = ENROLLMENT_MEMBERS_COUNT.may_load(deps.storage, id.u128())?.unwrap_or_default();
let current_members = ENROLLMENT_MEMBERS_COUNT
.may_load(deps.storage, id.u128())?
.unwrap_or_default();

Ok(EnrollmentEntryResponse {
category_id: self.category_id,
Expand Down

0 comments on commit cb0b7b5

Please sign in to comment.