Skip to content

Conversation

@aleh-null
Copy link
Collaborator

Handles showHidden flag as bool flag similar to Search.

http.Error(w, fmt.Sprintf("Invalid `showHidden` query parameter: %s", err), http.StatusBadRequest)
return
}
showHidden := r.URL.Query().Has("showHidden")
Copy link
Collaborator

Choose a reason for hiding this comment

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

❤️

@aleh-null aleh-null merged commit b7f83aa into main Sep 11, 2024
@aleh-null aleh-null deleted the ap/nit-bool-flags branch September 11, 2024 08:15
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.

3 participants