Skip to content

Commit

Permalink
Add note on future refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
reubenwong97 committed Oct 19, 2023
1 parent bc659e4 commit cdc235a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/api/eod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ impl<'a> Endpoint for Eod<'a> {
}

fn endpoint(&self) -> Cow<'static, str> {
// TODO: The other endpoints should be refactored such that whether
// it is /latest or /[date] can be checked at based on what
// options were passed into the EodBuilder.
"eod".into()
}

Expand Down

0 comments on commit cdc235a

Please sign in to comment.