We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8969107 commit c4d51b8Copy full SHA for c4d51b8
1 file changed
github/db.py
@@ -80,7 +80,7 @@ def from_row(cls, row: Record | None) -> Optional["WebhookInfo"]:
80
github_id = row["github_id"]
81
secret = row["secret"]
82
return cls(
83
- id=uuid.UUID(id),
+ id=id if isinstance(id, uuid.UUID) else uuid.UUID(id),
84
repo=repo,
85
user_id=user_id,
86
room_id=room_id,
0 commit comments