Skip to content

Commit

Permalink
backend: stop returning 400 on no referrer
Browse files Browse the repository at this point in the history
  • Loading branch information
ElysaSrc committed Oct 28, 2024
1 parent 3595684 commit 09f330b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/src/api/root.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ pub struct BootstrapResponse {
#[derive(Deserialize)]
pub struct BootstrapQueryParams {
#[serde_as(as = "NoneAsEmptyString")]
#[serde(default)]
pub referrer: Option<String>,
}

Expand Down

0 comments on commit 09f330b

Please sign in to comment.