diff --git a/library/Notifications/Common/Database.php b/library/Notifications/Common/Database.php index cfec2b02..729433a4 100644 --- a/library/Notifications/Common/Database.php +++ b/library/Notifications/Common/Database.php @@ -47,7 +47,7 @@ public static function get(): Connection private static function getConnection(): Connection { $config = new SqlConfig(ResourceFactory::getResourceConfig( - AppConfig::module('notifications')->get('database', 'resource') + AppConfig::module('notifications')->get('database', 'resource', 'notifications') )); $config->options = [PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_OBJ];