mirror of
				https://github.com/sitelease/sugar-cube-client.git
				synced 2025-10-31 12:02:30 +01:00 
			
		
		
		
	Ammendment - Fixed an error in the last commit
This commit is contained in:
		| @ -118,7 +118,7 @@ class PushEvent extends AbstractApiModel { | ||||
|  | ||||
|         if(isset($map->commits) && is_array($map->commits)) { | ||||
|             $commitsArray = []; | ||||
|             foreach ($commits as $commit) { | ||||
|             foreach ($map->commits as $commit) { | ||||
|                 $commitsArray[] = PayloadCommit::fromJson($client, null, $commit); | ||||
|             } | ||||
|             $newEvent->setCommits($commitsArray); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user