Skip to content

Commit

Permalink
fix: only look up active orgs with experiences by hostname (#15)
Browse files Browse the repository at this point in the history
The params are formatted correctly. I am not asserting that they are valid params for the platform. But I was assured by @carlsorenson that he has verified the platform support.
  • Loading branch information
carlsorenson authored and mvandiest committed May 15, 2017
1 parent 6b45852 commit eff6672
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const ApiPaths = {
return '/organizations/' + id;
},
getOneByHostname: function getOneByHostname(hostname) {
return '/organizations?hostname=' + hostname;
return '/organizations?status=active&hasExperience=true&hostname=' + hostname;
}
},
locations: {
Expand Down

0 comments on commit eff6672

Please sign in to comment.