🇵🇱Poland marcinkazmierski
Hi @aman_lnwebworks,
are you sure you are using the latest version?
Please look at the current source code:
https://git.drupalcode.org/project/rest_api_access_token/-/blob/2.0.x/src/EventSubscriber/CacheEndpointSubscriber.php
if (!$event->isMainRequest()) {
return;
}
🇵🇱Poland marcinkazmierski
🇵🇱Poland marcinkazmierski
🇵🇱Poland marcinkazmierski
🐛 | REST API Access Token | Argument #1 ($event) must be of type object, string given, called in /var/www/html/web/modules/contrib/rest_api_access_token/src/Controller/AuthController.php
🇵🇱Poland marcinkazmierski
🇵🇱Poland marcinkazmierski
🇵🇱Poland marcinkazmierski
Done in 2.0.1 version
🇵🇱Poland marcinkazmierski