Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | 2 | public function submitLogo(NewLogoRequest $request) |
|
17 | { |
||
18 | 2 | $newPath = (new SettingsDomain)->saveNewLogo($request->file); |
|
19 | 2 | Log::notice('New Logo uploaded by '.Auth::user()->full_name.'. Details - ', ['Logo Path' => $newPath]); |
|
20 | |||
21 | 2 | return response()->json(['url' => $newPath]); |
|
22 | } |
||
24 |