From c7b18c140c97adee12dcf43b6e84aafa5ff3eb9d Mon Sep 17 00:00:00 2001 From: gorsyan <79786004+gorsyan@users.noreply.github.com> Date: Thu, 21 Dec 2023 17:26:32 +0000 Subject: [PATCH] Last Fix of routes.rb issues Its ready for merge. --- lib/sequenceserver/routes.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/sequenceserver/routes.rb b/lib/sequenceserver/routes.rb index 37d28866c..2e17de041 100644 --- a/lib/sequenceserver/routes.rb +++ b/lib/sequenceserver/routes.rb @@ -308,10 +308,11 @@ def update_searchdata_from_job(searchdata) searchdata[:options][method]['last search'] = [job.advanced] end end + private -def fetch_job(job_id) - Job.fetch(job_id) -end + def fetch_job(job_id) + Job.fetch(job_id) + end end end