Skip to content

Requests error out when the body is not json #81

@Malabarba

Description

@Malabarba

Evaluate the following:

(tentacles.pulls/specific-pull "Malabarba" "lazy-map-clojure" 1 {:accept "application/vnd.github.VERSION.patch"})

You'll immediately get an exception because the :body is a patch file, and parse-safe tries to parse it as json.

Thanks for this great package!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions