mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 16:57:09 +00:00
Fix copy paste error in API
This commit is contained in:
@@ -72,10 +72,12 @@ class AccountController extends Controller
|
|||||||
$start = $request->getStartDate();
|
$start = $request->getStartDate();
|
||||||
$end = $request->getEndDate();
|
$end = $request->getEndDate();
|
||||||
if (null !== $start) {
|
if (null !== $start) {
|
||||||
|
app('log')->debug(sprintf('Set start date to %s', $start->toIso8601String()));
|
||||||
$collector->setStart($start);
|
$collector->setStart($start);
|
||||||
}
|
}
|
||||||
if (null !== $end) {
|
if (null !== $end) {
|
||||||
$collector->setEnd($start);
|
app('log')->debug(sprintf('Set end date to %s', $start->toIso8601String()));
|
||||||
|
$collector->setEnd($end);
|
||||||
}
|
}
|
||||||
|
|
||||||
$paginator = $collector->getPaginatedGroups();
|
$paginator = $collector->getPaginatedGroups();
|
||||||
|
Reference in New Issue
Block a user