Fix routes definitions.
This commit is contained in:
+8
-8
@@ -2,8 +2,9 @@
|
||||
/**
|
||||
* Nextcloud - user_sql
|
||||
*
|
||||
* @copyright 2012-2015 Andreas Böhler <dev (at) aboehler (dot) at>
|
||||
* @copyright 2025 Claus-Justus Heine <himself@claus-justus-heine.de>
|
||||
* @copyright 2018 Marcin Łojewski <dev@mlojewski.me>
|
||||
* @copyright 2012-2015 Andreas Böhler <dev (at) aboehler (dot) at>
|
||||
* @author Marcin Łojewski <dev@mlojewski.me>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
@@ -22,10 +23,8 @@
|
||||
|
||||
use OCA\UserSQL\AppInfo\Application;
|
||||
|
||||
$application = new Application();
|
||||
$application->registerRoutes(
|
||||
$this, [
|
||||
"routes" => [
|
||||
$routes = [
|
||||
'routes' => [
|
||||
[
|
||||
"name" => "settings#verifyDbConnection",
|
||||
"url" => "/settings/db/verify",
|
||||
@@ -66,6 +65,7 @@ $application->registerRoutes(
|
||||
"url" => "/settings/crypto/params",
|
||||
"verb" => "GET"
|
||||
],
|
||||
]
|
||||
]
|
||||
);
|
||||
],
|
||||
];
|
||||
|
||||
return $routes;
|
||||
|
||||
Reference in New Issue
Block a user