Skip to content

Commit

Permalink
fix: Account for old field name on PaymentIntent object of older API …
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Steele authored Jan 23, 2020
1 parent 1510a3d commit 8b6f13e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions functions/graphql/resolvers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const resolvers = {
REQUIRES_CAPTURE: 'requires_capture',
REQUIRES_CONFIRMATION: 'requires_confirmation',
REQUIRES_PAYMENT_METHOD: 'requires_payment_method',
REQUIRES_SOURCE: 'requires_source',
SUCCEEDED: 'succeeded',
},
};
Expand Down
1 change: 1 addition & 0 deletions functions/graphql/typeDefs.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ const typeDefs = gql`
REQUIRES_CAPTURE
REQUIRES_CONFIRMATION
REQUIRES_PAYMENT_METHOD
REQUIRES_SOURCE
SUCCEEDED
}
Expand Down

0 comments on commit 8b6f13e

Please sign in to comment.