Skip to content

Commit

Permalink
Update src/hermes/commands/init/github_permissions.py
Browse files Browse the repository at this point in the history
Co-authored-by: David Pape <[email protected]>
  • Loading branch information
nheeb and zyzzyxdonta authored Sep 4, 2024
1 parent ec62b74 commit 688e17b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hermes/commands/init/github_permissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def allow_actions(project_url: str, token = ""):
'can_approve_pull_request_reviews': True
}

response = requests.put(action_permissions_url, headers=headers, data=json.dumps(data))
response = requests.put(action_permissions_url, headers=headers, json=data)

if response.status_code in [204]:
print(f"Project settings updated successfully.")
Expand Down

0 comments on commit 688e17b

Please sign in to comment.