From e5ed0fc8a27e4c2ce1fc19cf194df8d96cbca1bc Mon Sep 17 00:00:00 2001 From: Fredrik Ekre Date: Tue, 15 Oct 2019 01:33:10 +0200 Subject: [PATCH] fix json --- docs/make.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/make.jl b/docs/make.jl index 0629cd2..bc0a25a 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -87,7 +87,7 @@ if get(ENV, "GITHUB_EVENT_NAME", nothing) == "pull_request" cmd = `curl -X POST` push!(cmd.exec, "-H", "Authorization: token $(ENV["GITHUB_TOKEN"])") push!(cmd.exec, "-H", "Content-Type: application/json") - push!(cmd.exec, "-d", "'{\"body\":\"$(msg)\"}'") + push!(cmd.exec, "-d", "{\"body\":\"$(msg)\"}") push!(cmd.exec, "https://api.github.com/repos/fredrikekre/Literate.jl/issues/$(PR)/comments") try success(cmd)