fix some tiny typos that caused errors in prod

This commit is contained in:
stupidcomputer 2024-10-09 04:43:58 -05:00
parent e9f1d2b00d
commit c974e278c9
2 changed files with 2 additions and 2 deletions

View File

@ -278,7 +278,7 @@ def gitea_handle_issue_action():
]) ])
github_comment_post_result = github.post( github_comment_post_result = github.post(
"https://api.github.com/repos/{}/{}/issues/{}/comment".format( "https://api.github.com/repos/{}/{}/issues/{}/comments".format(
repo_owner, repo_owner,
repo_name, repo_name,
issue_number, issue_number,

View File

@ -13,4 +13,4 @@ def from_base64(s: str) -> str:
issue_sentinel = "GITEA_GITHUB_ISSUE_SYNC_SENTINEL" issue_sentinel = "GITEA_GITHUB_ISSUE_SYNC_SENTINEL"
def generate_sentinel(url: str) -> str: def generate_sentinel(url: str) -> str:
return ' '.join([sentinel, to_base64(url)]) return ' '.join([issue_sentinel, to_base64(url)])