fix(core): Correct ticket comment model name

ref: #248 #365
This commit is contained in:
2024-10-26 23:05:20 +09:30
parent f5eb4c25b2
commit 34a9d202c3
3 changed files with 21 additions and 3 deletions

View File

@ -82,7 +82,7 @@ For this command to process the following conditions must be met:
user = self.opened_by,
)
elif str(self._meta.verbose_name).lower() == 'comment':
elif str(self._meta.verbose_name).lower().replace(' ', '_') == 'ticket_comment':
self.duration = duration