File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,17 +41,12 @@ public function handle(): void
4141 /** @var array<string, mixed> $eventMessages */
4242 $ eventMessages = Cache::pull ($ commentAggregationCacheKey , []);
4343
44- if (empty ($ eventMessages )) {
45- Cache::forget ($ commentAggregationCacheKey .'_author ' );
46-
47- return ;
48- }
4944 Log::info ('ProcessAggregatedEvents: Event message: ' .json_encode ($ eventMessages ));
5045 $ message = $ this ->aggregateMessages ($ eventMessages );
5146 Cache::forget ($ commentAggregationCacheKey );
5247 $ author = Cache::pull ($ commentAggregationCacheKey .'_author ' , '' );
5348
54- Log::info ('ProcessAggregatedEvents: Author: ' .json_encode ( $ author) );
49+ Log::info ('ProcessAggregatedEvents: Author: ' .$ author );
5550 $ message .= '\n\n ' .view (
5651 'github-project::md.shared.author ' ,
5752 ['name ' => $ author ['name ' ], 'html_url ' => $ author ['html_url ' ]]
You can’t perform that action at this time.
0 commit comments