Skip to content

Commit 9acab85

Browse files
committed
fix: cast content_node_id to string in ProcessWebhookEvent
1 parent 1b59d08 commit 9acab85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Jobs/ProcessWebhookEvent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function __construct(array $eventData)
3434
*/
3535
public function handle(): void
3636
{
37-
$nodeId = $this->eventData['projects_v2_item']['content_node_id'];
37+
$nodeId = (string) $this->eventData['projects_v2_item']['content_node_id'];
3838
$commentAggregationCacheKey = config('github-project.comment_aggregation_cache_key')."_{$nodeId}";
3939
$commentAggregationTime = (int) config('github-project.comment_aggregation_time');
4040

0 commit comments

Comments
 (0)