in migration/src/update_issues.py [0:0]
def update_comment(data_file: Path, token: str, repo: str):
with open(data_file) as fp:
o = json.load(fp)
comment_id = o["comment_id"]
body = o["body"]
if update_comment_body(token, repo, comment_id, body, logger):
logger.debug(f"Comment {comment_id} was successfully updated.")
else:
raise RuntimeError("Failed to update comment")