Skip to content

Commit

Permalink
made api token header public
Browse files Browse the repository at this point in the history
  • Loading branch information
dkijania committed Jul 6, 2020
1 parent 1d6ca9a commit aa3fd65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vit-servicing-station-lib/src/v0/api_token.rs
Expand Up @@ -3,7 +3,7 @@ use crate::v0::{context::SharedContext, errors::HandleError};
use warp::{Filter, Rejection};

/// Header where token should be present in requests
const API_TOKEN_HEADER: &str = "API-Token";
pub const API_TOKEN_HEADER: &str = "API-Token";

/// API Token wrapper type
#[derive(PartialEq, Eq)]
Expand Down

0 comments on commit aa3fd65

Please sign in to comment.