Merge pull request #18 from Trivernis/develop

Fix search query being internally tagged
main
Julius Riegel 3 years ago committed by GitHub
commit dc685bcd63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,6 +1,6 @@
[package] [package]
name = "hydrus-api" name = "hydrus-api"
version = "0.9.2" version = "0.9.3"
authors = ["trivernis <trivernis@protonmail.com>"] authors = ["trivernis <trivernis@protonmail.com>"]
edition = "2018" edition = "2018"
license = "Apache-2.0" license = "Apache-2.0"

@ -161,6 +161,7 @@ impl Endpoint for GetFile {
} }
#[derive(Clone, Debug, Serialize)] #[derive(Clone, Debug, Serialize)]
#[serde(untagged)]
pub enum SearchQueryEntry { pub enum SearchQueryEntry {
Tag(String), Tag(String),
OrChain(Vec<String>), OrChain(Vec<String>),

Loading…
Cancel
Save