diff options
author | John Nduli | 2024-08-07 09:29:11 +0300 |
---|---|---|
committer | Alexander_Kabui | 2024-08-28 15:02:46 +0300 |
commit | 73a1883f2a7c7623e85ca95862abdb3c0beb7a3e (patch) | |
tree | e1623923c6ead583213e32959e933799302241fc /gn2/wqflask/static/new | |
parent | 4aa2d88b2915323398c5b14a64e10f822df9a93e (diff) | |
download | genenetwork2-73a1883f2a7c7623e85ca95862abdb3c0beb7a3e.tar.gz |
fix: remove bearer token from html and javascript
Diffstat (limited to 'gn2/wqflask/static/new')
-rw-r--r-- | gn2/wqflask/static/new/javascript/auth/search_mrna.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gn2/wqflask/static/new/javascript/auth/search_mrna.js b/gn2/wqflask/static/new/javascript/auth/search_mrna.js index ed264bb4..76b2dc6b 100644 --- a/gn2/wqflask/static/new/javascript/auth/search_mrna.js +++ b/gn2/wqflask/static/new/javascript/auth/search_mrna.js @@ -15,17 +15,12 @@ function search_mrna() { selected = JSON.parse(document.getElementById( "tbl-link").getAttribute("data-datasets")); species_name = document.getElementById("txt-species-name").value - bearer_token = document.getElementById("bearer_token").value search_endpoint = "/auth/data/mrna/search" search_table = new TableDataSource( "#tbl-search", "data-datasets", search_checkbox); $.ajax( form.action, { - - "beforeSend": function (xhr) { - xhr.setRequestHeader('Authorization', 'Bearer ' + bearer_token); - }, "method": "POST", "contentType": "application/json; charset=utf-8", "dataType": "json", |