Quick update to fit current api state

This commit is contained in:
PB
2025-11-15 18:15:03 +01:00
parent fb2ba22f72
commit ba94a1d17f
4 changed files with 11 additions and 117 deletions

View File

@@ -4,11 +4,10 @@ import (
"fmt"
def "git.pbiernat.io/egommerce/api-entities/http"
"github.com/go-redis/redis/v8"
)
func NewPricingAPI(ua string, redis *redis.Client) *PricingAPI {
return &PricingAPI{NewHttpClient(ua, redis)}
func NewPricingAPI() *PricingAPI {
return &PricingAPI{NewHttpClient()}
}
type PricingAPI struct {