marshmallow-packages / zoho-desk

Laravel Zoho Desk connector
MIT License
0 stars 0 forks source link

BadMethodCallException Method Marshmallow\ZohoDesk\Commands\ZohoDeskAuth::newLine does not exist. #32

Closed chops888 closed 1 year ago

chops888 commented 1 year ago

when running php artisan zoho-desk:auth

\vendor\laravel\framework\src\Illuminate\Support\Traits\Macroable.php:103 99| */ 100| public function __call($method, $parameters) 101| { 102| if (! static::hasMacro($method)) {

103| throw new BadMethodCallException(sprintf( 104| 'Method %s::%s does not exist.', static::class, $method 105| )); 106| } 107|

chops888 commented 1 year ago

commenting out lines 35,38 in ZohoDeskAuth.php allows command to proceed, however, the hard-coded api-console.zoho.eu doesnt work for creds created in NA (api-console.zoho.com)

But, there is no place to put the scopes in the api keys.