fix auth type

This commit is contained in:
boufni95 2025-04-10 17:04:58 +00:00
parent 67c1260748
commit b18eab9d20
8 changed files with 26 additions and 26 deletions

View file

@ -235,14 +235,14 @@ service LightningPub {
}
rpc ZipMetricsStorages(structs.Empty) returns (structs.ZippedMetrics) {
option (auth_type) = "Admin";
option (auth_type) = "Metrics";
option (http_method) = "post";
option (http_route) = "/api/admin/metrics/zip";
option (nostr) = true;
}
rpc ResetMetricsStorages(structs.Empty) returns (structs.Empty) {
option (auth_type) = "Admin";
option (auth_type) = "Metrics";
option (http_method) = "post";
option (http_route) = "/api/admin/metrics/reset";
option (nostr) = true;