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