mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 08:29:10 -05:00
Return providers as indexed array
Signed-off-by: MB-Finski <sami.finnila@gmail.com>
This commit is contained in:
parent
6fa377e90e
commit
8904bf645b
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ class Manager implements IManager {
|
|||
foreach ($context->getTextToImageProviders() as $providerServiceRegistration) {
|
||||
$class = $providerServiceRegistration->getService();
|
||||
try {
|
||||
$this->providers[$class] = $this->serverContainer->get($class);
|
||||
$this->providers[] = $this->serverContainer->get($class);
|
||||
} catch (Throwable $e) {
|
||||
$this->logger->error('Failed to load Text to image provider ' . $class, [
|
||||
'exception' => $e,
|
||||
|
|
|
|||
Loading…
Reference in a new issue