update
All checks were successful
Build and Publish / BuildAndDeployAmd64 (push) Successful in 44s
Build and Publish / BuildAndDeployArm64 (push) Successful in 5m3s

This commit is contained in:
matst80
2025-11-20 21:20:35 +01:00
parent 1c8e9cc974
commit 60cd6cfd51
21 changed files with 1432 additions and 203 deletions

View File

@@ -39,12 +39,7 @@ func UpsertSubscriptionDetails(g *CartGrain, m *messages.UpsertSubscriptionDetai
// Update existing entry.
existing, ok := g.SubscriptionDetails[*m.Id]
if !ok {
n := &SubscriptionDetails{
Id: *m.Id,
Version: 0,
}
g.SubscriptionDetails[*m.Id] = n
existing = n
return fmt.Errorf("subscription details with id %s not found", *m.Id)
}
changed := false
if m.OfferingCode != "" {