Use sample data if repo has no commit in ChatService
What does this MR do?
Use a sample data for test webhook configurations if the repo has no commit in the project to avoid unintentional errors (500) in ChatNotificationService#execute
.
What are the relevant issue numbers?
#50564 (closed) #45002 (closed)
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary - [n/a] Documentation created/updated
-
Tests added for this feature/bug -
Conforms to the code review guidelines -
Conforms to the merge request performance guidelines -
Conforms to the style guides -
Conforms to the database guides
Closes #50564 (closed)
Edited by Takuya Noguchi