Merge pull request #757 from snake-eaterr/edit-debit-auths

update debitAccess
This commit is contained in:
Justin (shocknet) 2024-09-28 11:46:38 -04:00 committed by GitHub
commit 50f2866f92
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 148 additions and 4 deletions

View file

@ -453,6 +453,12 @@ service LightningPub {
option (http_route) = "/api/user/debit/authorize";
option (nostr) = true;
}
rpc EditDebit(structs.DebitAuthorizationRequest) returns (structs.Empty){
option (auth_type) = "User";
option (http_method) = "post";
option (http_route) = "/api/user/debit/edit";
option (nostr) = true;
}
rpc BanDebit(structs.DebitOperation) returns (structs.Empty){
option (auth_type) = "User";
option (http_method) = "post";