Skip to content

Commit eae31f3

Browse files
committed
Added some small changes
1 parent 2c634a8 commit eae31f3

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

ticket-backend/app/models/enums.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ class TicketSource(str, Enum):
5353
GITHUB = "GITHUB"
5454
FORM = "FORM"
5555
WEBHOOK = "WEBHOOK"
56+
SMS = "SMS"
5657

5758

5859
class AutoResolveAction(str, Enum):

ticket-backend/app/models/ticket.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def __init__(
6161
self._ai_reasoning = ai_reasoning or {}
6262
self._resolution_action = resolution_action
6363
self._suggested_assignee = suggested_assignee
64-
self._title = title
64+
self._title = title if title else description
6565
self._description = description
6666

6767
@classmethod

0 commit comments

Comments
 (0)