Skip to content

Commit

Permalink
updating the storage headers (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxwellflitton authored Nov 27, 2024
1 parent 9e0b5f6 commit 7400ff7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/python_apis/storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,8 @@ pub fn upload_model(
.method(Method::POST)
.uri(uri)
.header(CONTENT_TYPE, "application/octet-stream")
.header("ns", HeaderValue::from_str(&ns).unwrap())
.header("db", HeaderValue::from_str(&db).unwrap());
.header("surreal-ns", HeaderValue::from_str(&ns).unwrap())
.header("surreal-db", HeaderValue::from_str(&db).unwrap());

let req;
if username.is_none() == false && password.is_none() == false {
Expand Down

0 comments on commit 7400ff7

Please sign in to comment.