Version 5.1 - All the GraphQL #32

Closed
timw4mail wants to merge 1160 commits from develop into master
2 changed files with 1 additions and 2 deletions
Showing only changes of commit 51bf392d1b - Show all commits

View File

@ -100,7 +100,7 @@ final class Model
$config = $this->container->get('config');
$anilistUser = $config->get(['anilist', 'username']);
if ( ! \is_string($anilistUser))
if ( ! (is_string($anilistUser) && $anilistUser !== ''))
{
throw new InvalidArgumentException('Anilist username is not defined in config');
}

View File

@ -61,7 +61,6 @@ const SETTINGS_MAP = [
'type' => 'string',
'title' => 'Anilist Username',
'default' => '',
'readonly' => TRUE,
'description' => 'Login username for Anilist account to integrate with',
],
'access_token' => [