@@ -37,7 +37,7 @@ class ApplicationPreview extends BaseModel
|
||||
|
||||
public static function findPreviewByApplicationAndPullId(int $application_id, int $pull_request_id)
|
||||
{
|
||||
return self::query()->where('application_id', $application_id)->where('pull_request_id', $pull_request_id)->firstOrFail();
|
||||
return self::where('application_id', $application_id)->where('pull_request_id', $pull_request_id)->firstOrFail();
|
||||
}
|
||||
|
||||
public function isRunning()
|
||||
|
||||
Reference in New Issue
Block a user