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 |
||
36 | 2 | public function submitLogo(NewLogoRequest $request) |
|
37 | { |
||
38 | 2 | $newPath = (new SettingsDomain)->saveNewLogo($request->file); |
|
39 | |||
40 | 2 | Log::notice('New Logo uploaded by '.Auth::user()->full_name.'. Details - ', ['Logo Path' => $newPath]); |
|
41 | 2 | return response()->json(['url' => $newPath]); |
|
42 | } |
||
44 |