We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
disabled
1 parent f8618e0 commit e66ccdeCopy full SHA for e66ccde
crates/router/src/core/admin.rs
@@ -1767,7 +1767,7 @@ pub fn validate_status_and_disabled(
1767
};
1768
1769
let disabled = match (disabled, connector_status) {
1770
- (Some(true), common_enums::ConnectorStatus::Inactive) => {
+ (Some(false), common_enums::ConnectorStatus::Inactive) => {
1771
return Err(errors::ApiErrorResponse::InvalidRequestData {
1772
message: "Connector cannot be enabled when connector_status is inactive or when using TemporaryAuth"
1773
.to_string(),
0 commit comments