mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-20 08:30:06 +00:00
Delete routine [skip ci]
This commit is contained in:
@@ -15,7 +15,7 @@ class EloquentLimitRepository implements LimitRepositoryInterface
|
||||
public function find($limitId)
|
||||
{
|
||||
return \Limit::with('limitrepetitions')->where('limits.id', $limitId)->leftJoin('components', 'components.id', '=', 'limits.component_id')
|
||||
->where('components.user_id', \Auth::user()->id)->first();
|
||||
->where('components.user_id', \Auth::user()->id)->first(['limits.*']);
|
||||
}
|
||||
|
||||
public function store($data)
|
||||
|
||||
Reference in New Issue
Block a user