mirror of
https://github.com/klaussilveira/gitlist.git
synced 2026-07-12 02:42:40 +02:00
Merge pull request #597 from m3741/swap_tabs_for_spaces
Swap tabs for spaces to match formatting of the rest of the project
This commit is contained in:
@@ -67,17 +67,18 @@ class NetworkController implements ControllerProviderInterface
|
||||
);
|
||||
}
|
||||
|
||||
// when no commits are given, return an empty response - issue #369
|
||||
if( count($commits) === 0 ) {
|
||||
return $app->json( array(
|
||||
'repo' => $repo,
|
||||
'commitishPath' => $commitishPath,
|
||||
'nextPage' => null,
|
||||
'start' => null,
|
||||
'commits' => $jsonFormattedCommits
|
||||
), 200
|
||||
);
|
||||
}
|
||||
// when no commits are given, return an empty response - issue #369
|
||||
if (count($commits) === 0) {
|
||||
return $app->json(
|
||||
array(
|
||||
'repo' => $repo,
|
||||
'commitishPath' => $commitishPath,
|
||||
'nextPage' => null,
|
||||
'start' => null,
|
||||
'commits' => $jsonFormattedCommits
|
||||
), 200
|
||||
);
|
||||
}
|
||||
|
||||
return $app->json( array(
|
||||
'repo' => $repo,
|
||||
|
||||
Reference in New Issue
Block a user