fix auth type
This commit is contained in:
parent
67c1260748
commit
b18eab9d20
8 changed files with 26 additions and 26 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue