mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
chore: address Rust 1.78 clippy lints (#4545)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -193,9 +193,7 @@ pub fn run_program(program: JsValue, input: JsValue) -> JsResult {
|
||||
|
||||
#[wasm_bindgen(js_name = getAllConnectors)]
|
||||
pub fn get_all_connectors() -> JsResult {
|
||||
Ok(serde_wasm_bindgen::to_value(
|
||||
common_enums::RoutableConnectors::VARIANTS,
|
||||
)?)
|
||||
Ok(serde_wasm_bindgen::to_value(RoutableConnectors::VARIANTS)?)
|
||||
}
|
||||
|
||||
#[wasm_bindgen(js_name = getAllKeys)]
|
||||
|
||||
Reference in New Issue
Block a user