Skip to content

Commit

Permalink
Merge pull request #102 from tungleduyxyz/fix_invoice_blank_issue
Browse files Browse the repository at this point in the history
Change .blank? to .empty?
  • Loading branch information
pierre authored Mar 17, 2024
2 parents cc7d8f0 + 1187a79 commit d112d98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/killbill_client/models/invoice.rb
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def trigger_invoice_dry_run(account_id, target_date, upcoming_invoice_target_dat

query_map = {:accountId => account_id}
query_map[:targetDate] = target_date if target_date != nil
query_map[:pluginProperty] = plugin_property unless plugin_property.blank?
query_map[:pluginProperty] = plugin_property unless plugin_property.empty?

res = post "#{KILLBILL_API_DRY_RUN_INVOICES_PREFIX}",
dry_run.to_json,
Expand Down

0 comments on commit d112d98

Please sign in to comment.