Skip to content

Commit

Permalink
ccc
Browse files Browse the repository at this point in the history
  • Loading branch information
hmdee committed Nov 28, 2024
1 parent d4ccdea commit b586ea6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/ProjectController.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function store(Request $request)

// TASK: change the below line so that $filename would contain only filename
// The same filename as the original uploaded file
$filename = $request->file('logo')->getClientOriginalName();
$filename = $request->logo->getClientOriginalName();
$request->file('logo')->storeAs('logos', $filename);

Project::create([
Expand Down

0 comments on commit b586ea6

Please sign in to comment.