The problem is you added branch and vanity.


On Wed, Apr 17, 2013 at 10:47 AM, tu1ly <notifications@github.com> wrote:

> In lib/services/apiary.rb:
>
> > +
> > +  url "http://apiary.io"
> > +  logo_url "http://static.apiary.io/css/design2/apiary-io-symbol-1x.png"
> > +  maintained_by :github => 'tu1ly'
> > +  supported_by :web => 'http://support.apiary.io/',
> > +    :email => 'support@apiary.io'
> > +
> > +  APIARY_URL = "http://api.apiary.io/github/service-hook/"
> > +  #APIARY_URL = "http://api.apiary.dev:8000/github/service-hook/"
> > +
> > +  def make_apiary_call
> > +    return true if not domain
> > +    http_post APIARY_URL,
> > +      :payload => JSON.generate(payload),
> > +      :branch => branch,
> > +      :vanity => domain
>
> so should i use payload.to_json as in
> https://github.com/github/github-services/blob/master/lib/services/codeclimate.rb( listed as acceptable in your post) (i though it is equal to
> JSON.generate) or problem is that i add branch & vanity ?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/github/github-services/pull/573/files#r3836796>
> .
>



-- 
Rick Olson