string parsing bug

This commit is contained in:
2025-01-10 23:57:07 -05:00
parent 35dbe7d233
commit 048333b0ec

View File

@@ -17,7 +17,7 @@ def gitea():
DeployerRequest(
user = data["repository"]["owner"]["username"],
repo = data["repository"]["name"],
branch = data["ref"].strip("refs/heads/"),
branch = data["ref"].removeprefix("refs/heads/"),
commit_hash = data["after"]
)
)