Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
dlon committed Oct 21, 2023
1 parent 0be2712 commit 9a9a0e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mullvad-api/src/rest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ impl Request {
let response = response?;

if !self.expected_status.contains(&response.status()) {
if self.expected_status.is_empty() {
if !self.expected_status.is_empty() {
log::error!(
"Unexpected HTTP status code {}, expected codes [{}]",
response.status(),
Expand Down

0 comments on commit 9a9a0e3

Please sign in to comment.