Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ErrorException #36

Open
vasyakrg opened this issue Sep 4, 2020 · 2 comments
Open

ErrorException #36

vasyakrg opened this issue Sep 4, 2020 · 2 comments

Comments

@vasyakrg
Copy link

vasyakrg commented Sep 4, 2020

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)
@JohnRoux
Copy link
Contributor

JohnRoux commented Sep 4, 2020

Can you please add your composer.json file here.

What version of Laravel are you using?

@vasyakrg
Copy link
Author

vasyakrg commented Sep 4, 2020

"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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants