Permalink
Browse files

oops, we have payload, not params

  • Loading branch information...
1 parent 2930cca commit adb8c477475337e387797248c5f323dda8c0183f @cnix committed May 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/jibeset/client/entries.rb
@@ -3,7 +3,7 @@ class Client
module Entries
def register(payload)
- if params[:rc_entry]
+ if payload[:rc_entry]
post("/entries", payload)
else
post("/events/#{payload[:event_id]}/entries", payload)

0 comments on commit adb8c47

Please sign in to comment.