apilogger icon indicating copy to clipboard operation
apilogger copied to clipboard

ErrorException

Open vasyakrg opened this issue 4 years ago • 2 comments

ErrorException
Declaration of AWT\Http\Controllers\ApiLogController::index(AWT\Contracts\ApiLoggerInterface $logger) should be compatible with App\Http\Controllers\Controller::index(Illuminate\Http\Request $request)

vasyakrg avatar Sep 04 '20 14:09 vasyakrg

Can you please add your composer.json file here.

What version of Laravel are you using?

JohnRoux avatar Sep 04 '20 14:09 JohnRoux

"laravel/framework": "^7.0" - 7.13

composer.json.zip Driver: 'driver' => env('API_LOGS_DRIVER', 'db')

write request to db excellent work! all data write right

Routes: Route::prefix('/configs')->group(function () { Route::get('/', ['uses' => 'Api\ConfigFileJsonController@indexJson']); Route::post('/config', ['uses' => 'Api\ConfigFileJsonController@getConfigFileJson']); **Route::middleware('apilogger')->post('/create', ['uses' => 'Api\ConfigFileJsonController@CreateConfigJson']);** Route::fallback('Api\ConfigFileJsonController@fallbackJson'); });

but only not work UI small trouble, but i confused :)

vasyakrg avatar Sep 04 '20 14:09 vasyakrg