default cb url for user

This commit is contained in:
boufni95 2024-09-23 17:27:10 +00:00
parent 19ee91cd5f
commit 61da2eea77
19 changed files with 237 additions and 13 deletions

View file

@ -343,6 +343,12 @@ service LightningPub {
option (http_route) = "/api/user/info";
option (nostr) = true;
}
rpc UpdateCallbackUrl(structs.CallbackUrl)returns(structs.CallbackUrl){
option (auth_type) = "User";
option (http_method) = "post";
option (http_route) = "/api/user/cb/update";
option (nostr) = true;
}
rpc AddProduct(structs.AddProductRequest) returns (structs.Product){
option (auth_type) = "User";