X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/06029c3c9c71944220bd93bb600b5a127282fce4..97e1a72c211205e4596accbfc86cf5eeaec487ee:/project/templates/manager/pull_request.html?ds=inline diff --git a/project/templates/manager/pull_request.html b/project/templates/manager/pull_request.html index c902da98..c2964c22 100644 --- a/project/templates/manager/pull_request.html +++ b/project/templates/manager/pull_request.html @@ -11,7 +11,7 @@ var row = $('#request-' +id); $.ajax({ - url: "http://localhost:8000/api/pull-requests/" + id, + url: '{% url pullrequest_list %}/'+id, dataType: 'json', type: 'GET', success: function(data) { @@ -35,7 +35,7 @@ $.ajax({ - url: '{% url pullrequest_list %}/'+id, + url: '{% url pullrequest_list %}/'+id, data: {action: 'accept'}, dataType: 'json', type: 'PUT',