From 69f115eead7f9f475a121184d9bc3b1183d2844d Mon Sep 17 00:00:00 2001 From: Eric Hanson <5846501+ericphanson@users.noreply.github.com> Date: Tue, 22 Oct 2024 01:11:15 +0200 Subject: [PATCH] fix --- src/AutoMerge/util.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AutoMerge/util.jl b/src/AutoMerge/util.jl index bb87491b..89ecf963 100644 --- a/src/AutoMerge/util.jl +++ b/src/AutoMerge/util.jl @@ -356,7 +356,7 @@ end function maybe_create_label(api, repo, name::String, color::String, description::String; options...) path = "/repos/$(GitHub.name(repo))/labels" - result = GitHub.gh_post_json(api, path; params=(; name=name, color=color, description=description), handle_error=false, options...) + result = GitHub.gh_post(api, path; params=(; name=name, color=color, description=description), handle_error=false, options...) print(result) return result.status == 201 end