Skip to content

Commit

Permalink
Fix issue with the user name
Browse files Browse the repository at this point in the history
  • Loading branch information
martinRenou committed Jul 3, 2017
1 parent ae815bb commit 7e2d84f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/admin/admin-resources.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var API = (function () {
// Object representing the interface to the Web API.
// @param base_url : the url at which to find the web API endpoint.
var self = {};
self.base_urlpath = "/user/admin/";
self.base_urlpath = window.apidata.base_url;
self.default_options = {
contentType: "application/json",
cache: false,
Expand Down
2 changes: 1 addition & 1 deletion frontend/user/user-resources.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var API = (function () {
// Object representing the interface to the Web API.
// @param base_url : the url at which to find the web API endpoint.
var self = {};
self.base_urlpath = "/user/test/";
self.base_urlpath = window.apidata.base_url;
self.default_options = {
contentType: "application/json",
cache: false,
Expand Down

0 comments on commit 7e2d84f

Please sign in to comment.