Skip to content

Commit 1c79b53

Browse files
committed
Fix update_job
1 parent 220c3fd commit 1c79b53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/skylab_studio/client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def get_job_by_name(options = {})
6060
def update_job(job_id, options = {})
6161
validate_argument_presence nil, :job_id
6262

63-
SkylabStudio::Request.new(@configuration).patch("jobs/#{options[:id]}", options)
63+
SkylabStudio::Request.new(@configuration).patch("jobs/#{job_id}", options)
6464
end
6565

6666
def queue_job(options = {})

0 commit comments

Comments
 (0)