Skip to content

Commit

Permalink
Rename FiatTopupInfo to FiatTopupSetupInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgranhao committed Nov 27, 2024
1 parent 046036b commit e74d4ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crow/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ pub struct FiatTopupSetupChallenge {

/// Information about a fiat top-up registration
#[derive(Debug, Clone, PartialEq)]
pub struct FiatTopupInfo {
pub struct FiatTopupSetupInfo {
pub order_id: String,
/// The user should transfer fiat from this IBAN
pub debitor_iban: String,
Expand All @@ -95,7 +95,7 @@ pub struct FiatTopupInfo {
pub currency: String,
}

impl From<CompleteTopupSetupCompleteTopupSetup> for FiatTopupInfo {
impl From<CompleteTopupSetupCompleteTopupSetup> for FiatTopupSetupInfo {
fn from(value: CompleteTopupSetupCompleteTopupSetup) -> Self {
Self {
order_id: value.id,
Expand Down Expand Up @@ -161,7 +161,7 @@ impl OfferManager {
&self,
id: String,
signed_challenge: String,
) -> graphql::Result<FiatTopupInfo> {
) -> graphql::Result<FiatTopupSetupInfo> {
let variables = complete_topup_setup::Variables {
id,
signed_challenge,
Expand Down

0 comments on commit e74d4ad

Please sign in to comment.