Skip to content
This repository has been archived by the owner on Dec 29, 2023. It is now read-only.

Commit

Permalink
chore: fix endpoint url
Browse files Browse the repository at this point in the history
  • Loading branch information
kenta-elys committed Dec 8, 2023
1 parent 21d1507 commit 846f676
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/entry_point/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ pub fn query(deps: Deps<ElysQuery>, _env: Env, msg: QueryMsg) -> Result<Binary,
GetLiquidityPools { pool_ids, filter_type, pagination} => Ok(to_json_binary(&earn::get_pools(deps, pool_ids, filter_type, pagination)?)?),

// Specific function for querying USDC oracle price
GetUSDCPrice { } => Ok(to_json_binary(&earn::get_usdc_price(deps)?)?),
GetUsdcPrice { } => Ok(to_json_binary(&earn::get_usdc_price(deps)?)?),
}
}
2 changes: 1 addition & 1 deletion src/msg/query_msg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@ pub enum QueryMsg {
#[returns(QueryEarnPoolResponse)]
GetLiquidityPools { pool_ids: Option<Vec<u64>>, filter_type: FilterType, pagination: Option<PageRequest> },
#[returns(Decimal)]
GetUSDCPrice{}
GetUsdcPrice{}
}

0 comments on commit 846f676

Please sign in to comment.