Skip to content
Permalink
Browse files
998: Backport fails for jdk15u-dev
Reviewed-by: rwestberg
  • Loading branch information
edvbld committed Apr 28, 2021
1 parent cdc1b02 commit 7b3d5575e794c21fdf3c81cbc65de69303ffb913
Showing 1 changed file with 1 addition and 1 deletion.
@@ -540,7 +540,7 @@ public void addCollaborator(HostUser user, boolean canPush) {

@Override
public boolean canPush(HostUser user) {
var permission = request.get("collaborators/" + user.username())
var permission = request.get("collaborators/" + user.username() + "/permission")
.onError(r -> r.statusCode() == 404 ?
Optional.of(JSON.object().put("permission", "none")) :
Optional.empty())

1 comment on commit 7b3d557

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 7b3d557 Apr 28, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.