From bfe18d13882e24b5180728c13f33410ee500d74e Mon Sep 17 00:00:00 2001 From: Aleksandar Ginovski Date: Wed, 18 Jul 2018 14:57:52 +0300 Subject: [PATCH 1/3] Add countryCode to paypal objects --- src/Schema/PaymentMethod/PayPalAccount.js | 1 + src/Schema/Transaction/PayPalAccount.js | 1 + 2 files changed, 2 insertions(+) diff --git a/src/Schema/PaymentMethod/PayPalAccount.js b/src/Schema/PaymentMethod/PayPalAccount.js index da66e45..ba04dad 100644 --- a/src/Schema/PaymentMethod/PayPalAccount.js +++ b/src/Schema/PaymentMethod/PayPalAccount.js @@ -7,6 +7,7 @@ const PayPalAccount = new Schema( email: String, name: String, payerId: String, + countryCode: String }, { _id: false } ); diff --git a/src/Schema/Transaction/PayPalAccount.js b/src/Schema/Transaction/PayPalAccount.js index 322b05e..ba65c24 100644 --- a/src/Schema/Transaction/PayPalAccount.js +++ b/src/Schema/Transaction/PayPalAccount.js @@ -5,6 +5,7 @@ const PayPalAccount = new mongoose.Schema( email: String, name: String, payerId: String, + countryCode: String }, { _id: false } ); From c56d22c08cf335f73435e7508e52f0fe3a48eed8 Mon Sep 17 00:00:00 2001 From: Aleksandar Ginovski Date: Wed, 18 Jul 2018 14:58:15 +0300 Subject: [PATCH 2/3] Bump to 2.5.6 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e28a332..0eebe69 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mongoose-subscriptions", - "version": "2.5.5", + "version": "2.5.6", "description": "Processor agnostic payment subscription backend", "main": "src/index.js", "repository": "git@github.com:enhancv/mongoose-subscriptions.git", From 9e13eed418ca2c1ccc1a0243148cec8d3cbe362e Mon Sep 17 00:00:00 2001 From: Aleksandar Ginovski Date: Wed, 18 Jul 2018 15:03:53 +0300 Subject: [PATCH 3/3] Prettify file --- src/Schema/PaymentMethod/PayPalAccount.js | 2 +- src/Schema/Transaction/PayPalAccount.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Schema/PaymentMethod/PayPalAccount.js b/src/Schema/PaymentMethod/PayPalAccount.js index ba04dad..0bc0337 100644 --- a/src/Schema/PaymentMethod/PayPalAccount.js +++ b/src/Schema/PaymentMethod/PayPalAccount.js @@ -7,7 +7,7 @@ const PayPalAccount = new Schema( email: String, name: String, payerId: String, - countryCode: String + countryCode: String, }, { _id: false } ); diff --git a/src/Schema/Transaction/PayPalAccount.js b/src/Schema/Transaction/PayPalAccount.js index ba65c24..9f387cf 100644 --- a/src/Schema/Transaction/PayPalAccount.js +++ b/src/Schema/Transaction/PayPalAccount.js @@ -5,7 +5,7 @@ const PayPalAccount = new mongoose.Schema( email: String, name: String, payerId: String, - countryCode: String + countryCode: String, }, { _id: false } );