Skip to content

Commit

Permalink
url
Browse files Browse the repository at this point in the history
  • Loading branch information
yining1023 committed Oct 3, 2016
1 parent 0c0a5c6 commit 5a798cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function getInput(event) {
function getProjects(userInput) {
$.ajax({
type: "GET",
url: "https://itp.nyu.edu/ranch/api/projects-finder/" + userInput,
url: "" + userInput,
failure: function(err){
return alert ("Sorry, we could not find any data from api.");
},
Expand All @@ -33,7 +33,7 @@ function findName(obj) {
$.ajax({
type: "GET",
indexValue: i,
url: "https://itp.nyu.edu/ranch/api/people/" + obj[i].user,
url: "" + obj[i].user,
failure: function(err){
return console.log("Sorry, we could not find name for this netID.");
},
Expand Down

0 comments on commit 5a798cf

Please sign in to comment.