Skip to content

Commit

Permalink
update to access token
Browse files Browse the repository at this point in the history
  • Loading branch information
vovkman committed May 22, 2024
1 parent d086376 commit 4ed590f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/interceptor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ impl Interceptor for GrpcInterceptor {
fn call(&mut self, mut request: tonic::Request<()>) -> Result<tonic::Request<()>, Status> {
request
.metadata_mut()
.insert("x-token", self.access_token.parse().unwrap());
.insert("access-token", self.access_token.parse().unwrap());
Ok(request)
}
}

0 comments on commit 4ed590f

Please sign in to comment.