Skip to content

Commit

Permalink
Make static password pub fields
Browse files Browse the repository at this point in the history
  • Loading branch information
kylerchin committed Mar 20, 2024
1 parent de6a6c9 commit 6b2984d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/maple/transitland_download.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ pub struct DownloadedFeedsInformation {

#[derive(Debug, Clone)]
pub struct StaticPassword {
onestop_feed_id: String,
passwords: Option<Vec<String>>,
header_auth_key: Option<String>,
pub onestop_feed_id: String,
pub passwords: Option<Vec<String>>,
pub header_auth_key: Option<String>,
// this would be "Bearer" so the header would insert Authorization: Bearer {key}
header_auth_value_prefix: Option<String>,
url_auth_key: Option<String>
pub header_auth_value_prefix: Option<String>,
pub url_auth_key: Option<String>
}

// This is an efficient method to scan all static ingests and only insert what is new.
Expand Down

0 comments on commit 6b2984d

Please sign in to comment.