Skip to content

Commit

Permalink
Fix sync() issue: server expects timestamp between quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
leplatrem committed Jan 10, 2025
1 parent 662a05a commit af9c317
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/remote_settings/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ impl ApiClient for ViaductApiClient {
url.query_pairs_mut().append_pair("_expected", "0");
if let Some(timestamp) = timestamp {
url.query_pairs_mut()
.append_pair("_since", &timestamp.to_string());
.append_pair("_since", &format!("\"{}\"", timestamp));
}

let resp = self.make_request(url)?;
Expand Down

0 comments on commit af9c317

Please sign in to comment.