Skip to content

Commit

Permalink
refactor: standardize naming
Browse files Browse the repository at this point in the history
  • Loading branch information
chesedo committed Nov 21, 2022
1 parent 3cb3af3 commit 5f56d71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deployer/src/handlers/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ pub fn make_router(

let account_name = request
.headers()
.get("X-Forwarded-Account-Name")
.get("X-Shuttle-Account-Name")
.map(|value| value.to_str().unwrap_or_default());

let span = debug_span!(
Expand Down
2 changes: 1 addition & 1 deletion gateway/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ impl GatewayService {

let headers = req.headers_mut();
headers.append(
"X-Forwarded-Account-Name",
"X-Shuttle-Account-Name",
HeaderValue::from_str(&scoped_user.user.name.to_string()).unwrap(),
);

Expand Down

0 comments on commit 5f56d71

Please sign in to comment.