Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ericphanson committed Oct 21, 2024
1 parent 2b8e015 commit 69f115e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AutoMerge/util.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 69f115e

Please sign in to comment.