change alot of id values
All checks were successful
Build and Publish / Metadata (push) Successful in 15s
Build and Publish / BuildAndDeployAmd64 (push) Successful in 1m11s
Build and Publish / BuildAndDeployArm64 (push) Successful in 4m7s

This commit is contained in:
matst80
2025-10-14 21:24:50 +02:00
parent 4bec3f8cc0
commit 1565cfdaba
14 changed files with 426 additions and 332 deletions

View File

@@ -49,7 +49,7 @@ func SetDelivery(g *CartGrain, m *messages.SetDelivery) error {
}
withDelivery := g.ItemsWithDelivery()
targetItems := make([]int, 0)
targetItems := make([]uint32, 0)
if len(m.Items) == 0 {
// Use every item currently without a delivery
@@ -57,7 +57,7 @@ func SetDelivery(g *CartGrain, m *messages.SetDelivery) error {
} else {
// Validate explicit list
for _, id64 := range m.Items {
id := int(id64)
id := uint32(id64)
found := false
for _, it := range g.Items {
if it.Id == id {