Rename parameter account to account_id.
This commit is contained in:
@ -354,7 +354,7 @@ accountantApp
|
||||
*/
|
||||
$scope.load = function(begin, end) {
|
||||
$scope.operations = Operation.query({
|
||||
account: $routeParams.accountId,
|
||||
account_id: $routeParams.accountId,
|
||||
begin: begin.format('YYYY-MM-DD'),
|
||||
end: end.format('YYYY-MM-DD')
|
||||
});
|
||||
|
@ -48,7 +48,7 @@ accountantApp
|
||||
*/
|
||||
$scope.load = function() {
|
||||
$scope.operations = ScheduledOperation.query({
|
||||
account: $routeParams.accountId
|
||||
account_id: $routeParams.accountId
|
||||
});
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user