mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-10 17:23:12 +08:00
Extracted ApiKey metadata to the ApiKeyMeta object
This commit is contained in:
@@ -11,6 +11,6 @@ trait ApiKeyHelpersTrait
|
||||
public function provideAdminApiKeys(): iterable
|
||||
{
|
||||
yield 'no API key' => [null];
|
||||
yield 'admin API key' => [new ApiKey()];
|
||||
yield 'admin API key' => [ApiKey::create()];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user