Skip to content

Commit 1ad1420

Browse files
author
Emmanouil Konstantinidis
committed
Fix actual request path
1 parent d214630 commit 1ad1420

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rest_framework_docs/static/rest_framework_docs/js/components/liveapi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ var LiveAPIEndpoints = React.createClass({
3535
var data = this.getData();
3636

3737
// Now Make the Request
38-
APIRequest(request.selectedMethod, request.urlEndpoint)
38+
APIRequest(request.selectedMethod, request.endpoint.path)
3939
.send(data)
4040
.end(function (err, res) {
4141
self.setState({

rest_framework_docs/static/rest_framework_docs/js/dist.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32411,7 +32411,7 @@ var LiveAPIEndpoints = React.createClass({
3241132411
var data = this.getData();
3241232412

3241332413
// Now Make the Request
32414-
APIRequest(request.selectedMethod, request.urlEndpoint).send(data).end(function (err, res) {
32414+
APIRequest(request.selectedMethod, request.endpoint.path).send(data).end(function (err, res) {
3241532415
self.setState({
3241632416
response: res
3241732417
});

0 commit comments

Comments
 (0)