Skip to content

Commit

Permalink
MBL-1338: Re-fetch stored cards after login
Browse files Browse the repository at this point in the history
  • Loading branch information
amy-at-kickstarter committed Apr 3, 2024
1 parent 783902d commit 73864a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/ViewModels/PostCampaignCheckoutViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ public class PostCampaignCheckoutViewModel: PostCampaignCheckoutViewModelType,
// MARK: - Validate Existing Cards

/// Capture current users stored credit cards in the case that we need to validate an existing payment method
let storedCardsEvent = initialData.ignoreValues()
let storedCardsEvent = Signal.merge(initialData.ignoreValues(), self.userSessionStartedSignal.ignoreValues())
.switchMap { _ in
AppEnvironment.current.apiService
.fetchGraphUser(withStoredCards: true)
Expand Down

0 comments on commit 73864a9

Please sign in to comment.