remove old instance ref
Some checks failed
Build and Publish / BuildAndDeploy (push) Successful in 3m11s
Build and Publish / BuildAndDeployAmd64 (push) Has been cancelled

This commit is contained in:
matst80
2025-04-18 21:27:33 +02:00
parent 4056da81ea
commit f1d2591a6c

View File

@@ -13,9 +13,8 @@ import (
)
type PoolServer struct {
pod_name string
pool GrainPool
klarnaClient *KlarnaClient
pod_name string
pool GrainPool
}
func NewPoolServer(pool GrainPool, pod_name string) *PoolServer {
@@ -219,7 +218,7 @@ func (s *PoolServer) HandleConfirmation(w http.ResponseWriter, r *http.Request,
if orderId == "" {
return fmt.Errorf("orderId is empty")
}
order, err := s.klarnaClient.GetOrder(orderId)
order, err := KlarnaInstance.GetOrder(orderId)
if err != nil {
return err