mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 02:09:45 +07:00
Bad class in register service AuthorMapper
return new AuthorService replaced by return new AuthorMapper
This commit is contained in:
@@ -104,7 +104,7 @@ To add the app's classes simply open the :file:`appinfo/application.php` use the
|
||||
* Services
|
||||
*/
|
||||
$container->registerService('AuthorMapper', function($c){
|
||||
return new AuthorService(
|
||||
return new AuthorMapper(
|
||||
$c->query('ServerContainer')->getDb()
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user