fix: do not override payment options for top-up

This commit is contained in:
Carsten Otto
2022-05-27 23:31:08 +02:00
parent cca029c1cb
commit c06487faeb
3 changed files with 17 additions and 3 deletions

View File

@@ -116,7 +116,7 @@ public class PickhardtPaymentsController {
@Timed
@GetMapping("/top-up/{pubkey}/amount/{amount}")
public ResponseEntity<StreamingResponseBody> topUp(@PathVariable Pubkey pubkey, @PathVariable long amount) {
return topUp(pubkey, amount, PAYMENT_OPTIONS_DTO);
return topUp(pubkey, amount, new PaymentOptionsDto());
}
@Timed