mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-13 16:00:13 +00:00
New code for API 2
This commit is contained in:
@@ -59,7 +59,7 @@ class SumController extends Controller
|
||||
$converted = $this->cerSum($result);
|
||||
|
||||
// convert to JSON response:
|
||||
return response()->json($converted);
|
||||
return response()->api($converted);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -73,6 +73,6 @@ class SumController extends Controller
|
||||
$converted = $this->cerSum($result);
|
||||
|
||||
// convert to JSON response:
|
||||
return response()->json($converted);
|
||||
return response()->api($converted);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user