satellite/console: remove unused arguments
Change-Id: I3ef2b244137391daafee209e20cec383c6772e2e
This commit is contained in:
parent
65f3e26f80
commit
0619f97e20
@ -174,7 +174,7 @@ func (paymentService PaymentsService) AddCreditCard(ctx context.Context, creditC
|
|||||||
return Error.Wrap(err)
|
return Error.Wrap(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
err = paymentService.AddPromotionalCoupon(ctx, auth.User.ID, 2, 5500, memory.TB)
|
err = paymentService.AddPromotionalCoupon(ctx, auth.User.ID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
paymentService.service.log.Debug(fmt.Sprintf("could not add promotional coupon sof user %s", auth.User.ID.String()), zap.Error(Error.Wrap(err)))
|
paymentService.service.log.Debug(fmt.Sprintf("could not add promotional coupon sof user %s", auth.User.ID.String()), zap.Error(Error.Wrap(err)))
|
||||||
}
|
}
|
||||||
@ -361,7 +361,7 @@ func (paymentService PaymentsService) PopulatePromotionalCoupons(ctx context.Con
|
|||||||
}
|
}
|
||||||
|
|
||||||
// AddPromotionalCoupon creates new coupon for specified user.
|
// AddPromotionalCoupon creates new coupon for specified user.
|
||||||
func (paymentService PaymentsService) AddPromotionalCoupon(ctx context.Context, userID uuid.UUID, duration int, amount int64, limit memory.Size) (err error) {
|
func (paymentService PaymentsService) AddPromotionalCoupon(ctx context.Context, userID uuid.UUID) (err error) {
|
||||||
defer mon.Task()(&ctx, userID)(&err)
|
defer mon.Task()(&ctx, userID)(&err)
|
||||||
|
|
||||||
cards, err := paymentService.ListCreditCards(ctx)
|
cards, err := paymentService.ListCreditCards(ctx)
|
||||||
|
Loading…
Reference in New Issue
Block a user