JAL-3851 Some streamlining of caching/removing from cache. 'Highlighting' in InputAli...
[jalview.git] / src / jalview / rest / FetchSequencesEndpoint.java
index e3161cf..7fb6c29 100644 (file)
@@ -74,7 +74,7 @@ public class FetchSequencesEndpoint extends AbstractEndpointAsync
   protected String finishedResponseString(HttpServletRequest request,
           HttpServletResponse response)
   {
-    AlignFrame af = getAlignFrameFromId(request, "id");
+    AlignFrame af = getAlignFrameUsingId(request);
     if (af == null)
       return null;
     List<AlignmentViewPanel> aps = (List<AlignmentViewPanel>) af