From 678fcf932c9bff37713a38cfa3bc6af7824ba03c Mon Sep 17 00:00:00 2001 From: shamseen Date: Fri, 14 May 2021 19:52:25 -0400 Subject: [PATCH] using unique rule ID instead #5 --- dataServices/enaService.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dataServices/enaService.js b/dataServices/enaService.js index 49e215c..a2d9c55 100644 --- a/dataServices/enaService.js +++ b/dataServices/enaService.js @@ -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;