Skip to content

Commit cd42727

Browse files
committed
empty split return null
1 parent 7228c45 commit cd42727

File tree

3 files changed

+2276
-7923
lines changed

3 files changed

+2276
-7923
lines changed

src/paystack.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ export default {
172172
plan: this.plan,
173173
quantity: this.quantity,
174174
subaccount: this.isDynamicSplit() ? "" : this.subaccount,
175-
split: this.isDynamicSplit() ? this.split : {},
175+
split: this.isDynamicSplit() ? this.split : null,
176176
split_code: this.isDynamicSplit() ? "" : this.splitCode,
177177
transaction_charge: this.isDynamicSplit() ? 0 : this.transactionCharge,
178178
bearer: this.isDynamicSplit() ? "" : this.bearer

0 commit comments

Comments
 (0)