Skip to content

Commit

Permalink
Use emulator depending on flag
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewTurk247 committed Mar 17, 2024
1 parent 655ba46 commit ea86a58
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion PAWS/Onboarding/InvitationCodeView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@ struct InvitationCodeView: View {
}

Check warning on line 91 in PAWS/Onboarding/InvitationCodeView.swift

View check run for this annotation

Codecov / codecov/patch

PAWS/Onboarding/InvitationCodeView.swift#L84-L91

Added lines #L84 - L91 were not covered by tests

init() {
Functions.functions().useEmulator(withHost: "localhost", port: 5001)
if FeatureFlags.useFirebaseEmulator {
Functions.functions().useEmulator(withHost: "localhost", port: 5001)
}
}

private func verifyOnboardingCode() async {
Expand Down

0 comments on commit ea86a58

Please sign in to comment.