Fix condition for merge_request actions in webhooks.php
This commit is contained in:
		| @@ -197,7 +197,7 @@ Route::post('/source/gitlab/events/manual', function () { | ||||
|                         ]); | ||||
|                         ray('Preview deployments disabled for ' . $application->name); | ||||
|                     } | ||||
|                 } else if ($action === 'closed') { | ||||
|                 } else if ($action === 'closed' || $action === 'close') { | ||||
|                     $found = ApplicationPreview::where('application_id', $application->id)->where('pull_request_id', $pull_request_id)->first(); | ||||
|                     if ($found) { | ||||
|                         $found->delete(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Andras Bacsai
					Andras Bacsai