Skip to content

Commit

Permalink
using unique rule ID instead #5
Browse files Browse the repository at this point in the history
  • Loading branch information
shamseen committed May 14, 2021
1 parent 29a64bd commit 678fcf9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dataServices/enaService.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ class ENAService {
enaStudy = '';

// calls API using a pre-made rule on their side.
// TODO: use POST endpoint
async getSequences() {
try {
const response = await axios.get('https://www.ebi.ac.uk/ena/portal/api/search?rule=pngcat-dna-studies&sortDirection=asc');
const response = await axios.get('https://www.ebi.ac.uk/ena/portal/api/search?rule=8624c855-9921-4b98-b763-ac0d79b6a567');

return response.data;

Expand Down

0 comments on commit 678fcf9

Please sign in to comment.