Skip to content

Commit cbf4726

Browse files
Fixed GitHub notification error
1 parent b0d421c commit cbf4726

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/send_cv2_webhook.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ def send_to_webhook(webhook, author, message, sha, repo_url, commit_url):
421421
img.save(buffer, format="PNG")
422422
buffer.seek(0)
423423

424-
image_url = upload_to_imgbb(buffer, repo)
424+
image_url = upload_to_imgbb(buffer)
425425
if image_url:
426426
return send_cv2(webhook, author, message, sha, repo_url, commit_url, image_url)
427427

0 commit comments

Comments
 (0)