Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

products_v2: support archived and drop org #9

Merged
merged 1 commit into from
Oct 10, 2023
Merged

Conversation

danielspofford
Copy link
Contributor

No description provided.

Comment on lines +102 to +113
let mut query_params = vec![("search".to_string(), params.search)];

if let Some(limit) = params.limit {
query_params.push(("limit".to_string(), limit.to_string()))
}
if let Some(order) = params.order {
query_params.push(("order".to_string(), order))
}

if let Some(page) = params.page {
query_params.push(("page".to_string(), page))
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assuredly there is a more idiomatic / succinct way to do this...

@danielspofford danielspofford merged commit 13c71eb into main Oct 10, 2023
4 checks passed
@danielspofford danielspofford deleted the spoff/eng-1156 branch October 10, 2023 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant