]> git.proxmox.com Git - pmg-api.git/commitdiff
api: use readable casing for tls-inbound-domains endpoint
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 21 Mar 2023 09:23:25 +0000 (10:23 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 21 Mar 2023 09:23:25 +0000 (10:23 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PMG/API2/Config.pm

index c71432a4d7dac52af41fc904ea9868362c32094b..2f4071f8d5daf31fc758c878d77b1f0c99b7ae86 100644 (file)
@@ -89,7 +89,7 @@ __PACKAGE__->register_method ({
 
 __PACKAGE__->register_method ({
     subclass => "PMG::API2::InboundTLSDomains",
-    path => 'tlsinbounddomains',
+    path => 'tls-inbound-domains',
 });
 
 __PACKAGE__->register_method({
@@ -152,7 +152,7 @@ __PACKAGE__->register_method ({
        push @$res, { section => 'ruledb' };
        push @$res, { section => 'tfa' };
        push @$res, { section => 'tlspolicy' };
-       push @$res, { section => 'tlsinbounddomains' };
+       push @$res, { section => 'tls-inbound-domains' };
        push @$res, { section => 'transport' };
        push @$res, { section => 'users' };
        push @$res, { section => 'whitelist' };