Skip to content

Commit

Permalink
Update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
LostQuasar committed Oct 13, 2024
1 parent 9ef7ac5 commit d3caa61
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use std::fmt::Debug;
use strum_macros::EnumString;

/// All methods contain an `Option<String>` to provide an alternate api key to use if it differs from the default
/// Should they? probably not there gotta be a better way to do this.
// Should they? probably not there gotta be a better way to do this.
pub struct OpenShockAPI {
pub client: reqwest::Client,
pub base_url: String,
Expand Down
3 changes: 2 additions & 1 deletion src/api_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ impl OpenShockAPIBuilder {

/// set the API token to use
///
/// this must be provided
/// this must be provided
// We should be checking this before allowing a sucessful build of the openshock api?
pub fn with_default_api_token(mut self, default_api_token: String) -> Self {
self.default_key = Some(default_api_token);
self
Expand Down

0 comments on commit d3caa61

Please sign in to comment.