santutu

Results 6 comments of santutu

in .env file DB_USERNAME=root it works. sail doesn't have privilege for granting.

GetArticle.php ``` public function asApi(ActionRequest $req, int $id): JsonResponse { $req->validate(); $article = $this->handle(articleId: $id); return response()->json($article); } ``` api.php ``` Route::get('articles/{id}', [\Modules\Board\Actions\Article\GetArticle::class, 'asApi']); ``` it works. but idk that...

It is fully native friendly. I took a look at codes inside this package . You don't need to call $req->validate().

still doesn't work