mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Fixes #16. Correctly wrap Yii2's request into the PSR's ServerRequest object
This commit is contained in:
@@ -78,6 +78,8 @@ return [
|
||||
'baseUrl' => '/api',
|
||||
'enableCsrfCookie' => false,
|
||||
'parsers' => [
|
||||
'application/json' => yii\web\JsonParser::class,
|
||||
'multipart/form-data' => yii\web\MultipartFormDataParser::class,
|
||||
'*' => api\request\RequestParser::class,
|
||||
],
|
||||
],
|
||||
|
Reference in New Issue
Block a user