Skip to content

Commit

Permalink
T1 Update ProjectController.php
Browse files Browse the repository at this point in the history
  • Loading branch information
imtyaz-17 authored Jul 8, 2024
1 parent 5b954e6 commit 2145fde
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 @@ -15,7 +15,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 = '???';
$filename = $request->file('logo')->getClientOriginalName();
$request->file('logo')->storeAs('logos', $filename);

Project::create([
Expand Down

0 comments on commit 2145fde

Please sign in to comment.