Fix search query being internally tagged

Signed-off-by: trivernis <trivernis@protonmail.com>
pull/18/head
trivernis 3 years ago
parent b7295fb7bc
commit 5cddeee14b
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

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

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

Loading…
Cancel
Save