refactor: remove mfa_token argument from `ChorusRequest` `new` method
This commit is contained in:
parent
85a2878f9a
commit
2c4e069269
|
@ -35,13 +35,12 @@ impl ChorusRequest {
|
||||||
/// * [`http::Method::DELETE`]
|
/// * [`http::Method::DELETE`]
|
||||||
/// * [`http::Method::PATCH`]
|
/// * [`http::Method::PATCH`]
|
||||||
/// * [`http::Method::HEAD`]
|
/// * [`http::Method::HEAD`]
|
||||||
#[allow(unused_variables)] // TODO: Add mfa_token to request, once we figure out *how* to do so correctly
|
#[allow(unused_variables)]
|
||||||
pub fn new(
|
pub fn new(
|
||||||
method: http::Method,
|
method: http::Method,
|
||||||
url: &str,
|
url: &str,
|
||||||
body: Option<String>,
|
body: Option<String>,
|
||||||
audit_log_reason: Option<&str>,
|
audit_log_reason: Option<&str>,
|
||||||
mfa_token: Option<&str>,
|
|
||||||
chorus_user: Option<&mut ChorusUser>,
|
chorus_user: Option<&mut ChorusUser>,
|
||||||
limit_type: LimitType,
|
limit_type: LimitType,
|
||||||
) -> ChorusRequest {
|
) -> ChorusRequest {
|
||||||
|
|
Loading…
Reference in New Issue