Minor fixes

This commit is contained in:
Hillel Coren 2016-10-28 12:01:35 +03:00
parent 8f1a9a2e5d
commit bd624710a8
2 changed files with 3 additions and 1 deletions

View File

@ -92,7 +92,7 @@ class CheckData extends Command {
$count = DB::table('activities') $count = DB::table('activities')
->where('activity_type_id', '=', 5) ->where('activity_type_id', '=', 5)
->where('json_backup', '=', '') ->where('json_backup', '=', '')
->whereNotIn('id', [634386, 756352, 756353, 756356]) ->whereNotIn('id', [634386, 756352, 756353, 756356, 820872])
->count(); ->count();
if ($count > 0) { if ($count > 0) {

View File

@ -18,6 +18,8 @@ class ExpenseCategoryApiController extends BaseAPIController
public function __construct(ExpenseCategoryRepository $categoryRepo, ExpenseCategoryService $categoryService) public function __construct(ExpenseCategoryRepository $categoryRepo, ExpenseCategoryService $categoryService)
{ {
parent::__construct();
$this->categoryRepo = $categoryRepo; $this->categoryRepo = $categoryRepo;
$this->categoryService = $categoryService; $this->categoryService = $categoryService;
} }