aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/static/new/javascript/auth/search_genotypes.js2
-rw-r--r--wqflask/wqflask/static/new/javascript/auth/search_mrna.js2
-rw-r--r--wqflask/wqflask/static/new/javascript/auth/search_phenotypes.js4
3 files changed, 4 insertions, 4 deletions
diff --git a/wqflask/wqflask/static/new/javascript/auth/search_genotypes.js b/wqflask/wqflask/static/new/javascript/auth/search_genotypes.js
index 8d571c53..d1b8ed9e 100644
--- a/wqflask/wqflask/static/new/javascript/auth/search_genotypes.js
+++ b/wqflask/wqflask/static/new/javascript/auth/search_genotypes.js
@@ -14,7 +14,7 @@ function search_genotypes() {
selected = JSON.parse(document.getElementById(
"tbl-link-genotypes").getAttribute("data-selected-datasets"));
species_name = document.getElementById("txt-species-name").value
- search_endpoint = "/oauth2/data/genotype/search"
+ search_endpoint = "/auth/data/genotype/search"
search_table = new TableDataSource(
"#tbl-genotypes", "data-datasets", search_checkbox);
$.ajax(
diff --git a/wqflask/wqflask/static/new/javascript/auth/search_mrna.js b/wqflask/wqflask/static/new/javascript/auth/search_mrna.js
index 27e7fc0c..3eca4ed2 100644
--- a/wqflask/wqflask/static/new/javascript/auth/search_mrna.js
+++ b/wqflask/wqflask/static/new/javascript/auth/search_mrna.js
@@ -14,7 +14,7 @@ function search_mrna() {
selected = JSON.parse(document.getElementById(
"tbl-link").getAttribute("data-datasets"));
species_name = document.getElementById("txt-species-name").value
- search_endpoint = "/oauth2/data/mrna/search"
+ search_endpoint = "/auth/data/mrna/search"
search_table = new TableDataSource(
"#tbl-search", "data-datasets", search_checkbox);
$.ajax(
diff --git a/wqflask/wqflask/static/new/javascript/auth/search_phenotypes.js b/wqflask/wqflask/static/new/javascript/auth/search_phenotypes.js
index 556a7467..99ecb16e 100644
--- a/wqflask/wqflask/static/new/javascript/auth/search_phenotypes.js
+++ b/wqflask/wqflask/static/new/javascript/auth/search_phenotypes.js
@@ -97,7 +97,7 @@ function display_search_results(data, textStatus, jqXHR) {
*/
function fetch_search_results(job_id, success, error=default_error_fn) {
host = $("#frm-search-traits").attr("data-gn-server-url");
- endpoint = host + "oauth2/data/search/phenotype/" + job_id
+ endpoint = host + "auth/data/search/phenotype/" + job_id
$("#txt-search").prop("disabled", true);
$.ajax(
endpoint,
@@ -119,7 +119,7 @@ function search_phenotypes() {
per_page = document.getElementById("txt-per-page").value
search_table = new TableDataSource(
"#tbl-phenotypes", "data-traits", search_checkbox);
- endpoint = "/oauth2/data/phenotype/search"
+ endpoint = "/auth/data/phenotype/search"
$.ajax(
endpoint,
{