Skip to content

Commit

Permalink
Teapot => bad request
Browse files Browse the repository at this point in the history
  • Loading branch information
penberg committed Jan 28, 2025
1 parent 8b8793b commit f908cb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libsql/src/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ impl SyncContext {
.map_err(SyncError::HttpBody)?;
return Ok(PullResult::Frame(frame));
}
if res.status() == StatusCode::IM_A_TEAPOT {
if res.status() == StatusCode::BAD_REQUEST {
let res_body = hyper::body::to_bytes(res.into_body())
.await
.map_err(SyncError::HttpBody)?;
Expand Down

0 comments on commit f908cb3

Please sign in to comment.