Skip to content

Commit

Permalink
Merge pull request #109 from makr11st/bugfix/spotlight_example_pagina…
Browse files Browse the repository at this point in the history
…tion_missing

Add missing negation in the pagination of spotlight example
  • Loading branch information
makr11st committed Aug 31, 2023
2 parents 232ce29 + 375d630 commit df35389
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rusty_falcon"
version = "0.3.1"
version = "0.3.2"
authors = ["CrowdStrike Inc"]
description = "Rust bindings for CrowdStrike Falcon API"
homepage = "https://github.com/CrowdStrike/rusty-falcon"
Expand Down
2 changes: 1 addition & 1 deletion examples/falcon_spotlight_vulnerabilities.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ async fn main() {
}

after = match response.meta.next() {
Some(pagination_token) if pagination_token.is_empty() => {
Some(pagination_token) if !pagination_token.is_empty() => {
Some(pagination_token.to_owned())
}
_ => break,
Expand Down

0 comments on commit df35389

Please sign in to comment.