Skip to content

Commit

Permalink
travelperk webhook redirect url fix (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
NileshPant1999 authored Jan 31, 2024
1 parent bf55f21 commit 6126cb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/travelperk/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def post(self, request, *args, **kwargs):

travelperk_webhook_data = {
'name': 'travelperk webhook invoice',
'url': 'https://google.com/7657657/' + '/orgs/{}/travelperk/travelperk_webhook/'.format(kwargs['org_id']),
'url': settings.API_URL + '/orgs/{}/travelperk/travelperk_webhook/'.format(kwargs['org_id']),
'secret': settings.TKWEBHOOKS_SECRET,
'events': [
'invoice.issued'
Expand Down

0 comments on commit 6126cb4

Please sign in to comment.