Skip to content

Commit

Permalink
Merge pull request #351 from Mangopay/bugfix/fix_typo_in_conversion_e…
Browse files Browse the repository at this point in the history
…ndpoint

fix typo in conversion endpoint
  • Loading branch information
mihaimoiseanu authored Mar 7, 2024
2 parents 101b014 + 6d01f51 commit 701fc7f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mangopay/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ class Meta:
verbose_name = 'conversion_rate'
verbose_name_plural = 'conversion_rates'
url = {
'GET_CONVERSION_RATE': '/conversion/rate/%(debited_currency)s/%(credited_currency)s'
'GET_CONVERSION_RATE': '/conversions/rate/%(debited_currency)s/%(credited_currency)s'
}


Expand Down Expand Up @@ -320,8 +320,8 @@ class Meta:
verbose_name = 'instant_conversion'
verbose_name_plural = 'instant_conversions'
url = {
'CREATE_INSTANT_CONVERSION': '/instant-conversion',
'GET_INSTANT_CONVERSION': '/instant-conversion/%(id)s'
'CREATE_INSTANT_CONVERSION': '/conversions/instant-conversion',
'GET_INSTANT_CONVERSION': '/conversions/%(id)s'
}


Expand Down

0 comments on commit 701fc7f

Please sign in to comment.