Skip to content

Commit

Permalink
Create Taxonomy bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
NuwanJ committed Dec 8, 2024
1 parent 13e2762 commit f8c2f19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/Backend/TaxonomyController.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function store(Request $request)

try {
$taxonomy = new Taxonomy($validatedData);
$taxonomy->properties = $request->properties;
$taxonomy->properties = json_decode($request->properties);
$taxonomy->created_by = Auth::user()->id;
$taxonomy->save();
return redirect()->route('dashboard.taxonomy.index')->with('Success', 'Taxonomy created successfully');
Expand Down

0 comments on commit f8c2f19

Please sign in to comment.