Skip to content

Commit

Permalink
Merge pull request #534 from simphony/fix_user_name_issue
Browse files Browse the repository at this point in the history
Fix issue with hard coded user name
  • Loading branch information
stefanoborini authored Jul 4, 2017
2 parents ae815bb + 7e2d84f commit ad7fc36
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 ad7fc36

Please sign in to comment.