Check for valid callback source address
This commit is contained in:
@@ -8,6 +8,7 @@ import (
|
||||
"payouts/internal/config"
|
||||
"payouts/internal/models"
|
||||
"payouts/internal/service/database/orm"
|
||||
yookassaConf "payouts/internal/service/yookassa/config"
|
||||
)
|
||||
|
||||
var Module = fx.Options(
|
||||
@@ -27,6 +28,7 @@ func WithContext(ctx context.Context) Optional {
|
||||
|
||||
type Service interface {
|
||||
CreatePayout(models.PayoutReq, *orm.User, ...Optional)
|
||||
GetConfig() yookassaConf.YooKassa
|
||||
}
|
||||
|
||||
type Param struct {
|
||||
|
||||
Reference in New Issue
Block a user