Skip to content

Commit

Permalink
Merge pull request #278 from hmnhf/fix/ruby-examples-custom-field-id
Browse files Browse the repository at this point in the history
Fix custom field id in Ruby code examples
  • Loading branch information
reshmabidikar authored Oct 23, 2023
2 parents 37a7597 + fdcf55c commit 1467912
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion source/includes/_account.md
Original file line number Diff line number Diff line change
Expand Up @@ -3957,7 +3957,7 @@ accountApi.deleteAccountCustomFields(accountId,
```

```ruby
custom_field_id = custom_field.id
custom_field_id = custom_field.custom_field_id

account.remove_custom_field(custom_field_id,
user,
Expand Down
2 changes: 1 addition & 1 deletion source/includes/_invoice-payment.md
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ invoicePaymentApi.deleteInvoicePaymentCustomFields(paymentId,
```

```ruby
custom_field_id = custom_field.id
custom_field_id = custom_field.custom_field_id

invoice_payment.remove_custom_field(custom_field_id,
user,
Expand Down
2 changes: 1 addition & 1 deletion source/includes/_payment.md
Original file line number Diff line number Diff line change
Expand Up @@ -1751,7 +1751,7 @@ paymentApi.deletePaymentCustomFields(paymentId,
```

```ruby
custom_field_id = custom_field.id
custom_field_id = custom_field.custom_field_id

payment.remove_custom_field(custom_field_id,
user,
Expand Down

0 comments on commit 1467912

Please sign in to comment.