country + status added and other changes

This commit is contained in:
2026-06-10 18:02:17 +05:45
parent 5a085148b4
commit a551ca538e
16 changed files with 1386 additions and 293 deletions
+2 -1
View File
@@ -19,7 +19,8 @@ class CommentController extends Controller
'comment' => $c->comment,
'author' => auth()->user()->name,
'created_at_human' => $c->created_at->diffForHumans(),
]);
])
->values(); // ← add this
return response()->json(['comments' => $comments]);
}