Skip to content

Commit

Permalink
Apply code review suggestions
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Granhão <32176319+danielgranhao@users.noreply.github.com>
  • Loading branch information
dleutenegger and danielgranhao committed Nov 9, 2023
1 parent 53ceafc commit 3109151
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 0 additions & 5 deletions parrot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,5 @@ version = "0.1.0"
edition = "2021"

[dependencies]
log = "0.4.17"

graphql = { path = "../graphql" }
honey-badger = { path = "../honey-badger" }

[dev-dependencies]
simplelog = { version ="0.12.0", features = ["test"] }
4 changes: 2 additions & 2 deletions parrot/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pub enum PaymentSource {
}
pub enum PayFailureReason {
NoRoute,
Unkown,
Unknown,
}

pub enum AnalyticsEvent {
Expand Down Expand Up @@ -215,6 +215,6 @@ fn map_pay_failure_reason(
) -> report_payment_telemetry::PayFailureReason {
match pay_failure_reason {
PayFailureReason::NoRoute => report_payment_telemetry::PayFailureReason::NO_ROUTE,
PayFailureReason::Unkown => report_payment_telemetry::PayFailureReason::UNKNOWN,
PayFailureReason::Unknown => report_payment_telemetry::PayFailureReason::UNKNOWN,
}
}

0 comments on commit 3109151

Please sign in to comment.