mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 04:04:43 +08:00
refactor(id_type): use macros for defining ID types and implementing common traits (#5471)
This commit is contained in:
@ -112,7 +112,10 @@ impl AppClient<Admin> {
|
||||
B: MessageBody,
|
||||
{
|
||||
let request = TestRequest::post()
|
||||
.uri(&format!("/account/{merchant_id}/connectors"))
|
||||
.uri(&format!(
|
||||
"/account/{}/connectors",
|
||||
merchant_id.get_string_repr()
|
||||
))
|
||||
.append_header(("api-key".to_owned(), self.state.authkey.clone()))
|
||||
.set_json(mk_connector(connector_name, api_key))
|
||||
.to_request();
|
||||
|
||||
Reference in New Issue
Block a user