summaryrefslogtreecommitdiff
path: root/lib/task.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/task.rb')
-rw-r--r--lib/task.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/task.rb b/lib/task.rb
index 24bd944..9e60c2e 100644
--- a/lib/task.rb
+++ b/lib/task.rb
@@ -10,7 +10,7 @@ module OpenTox
end
def self.create
- uri = RestClient.post @@config[:services]["opentox-task"], nil
+ uri = RestClient.post @@config[:services]["opentox-task"], {}
Task.new(uri)
end