statiegeld: use correct id for deduplication key
Bug introduced in fffb2d72
This commit is contained in:
parent
8e9a037d1c
commit
ff4ffd16f8
1 changed files with 4 additions and 3 deletions
|
@ -78,9 +78,10 @@ sub command { # args via @_ for mutable alias
|
||||||
|
|
||||||
$cart
|
$cart
|
||||||
->add(+$addon->{price}, $d, {
|
->add(+$addon->{price}, $d, {
|
||||||
plugin => $invocant->id,
|
plugin => $invocant->id,
|
||||||
addon_id => $addon->{id},
|
addon_id => $addon->{id},
|
||||||
deduplicate => join("/", $invocant->id, $addon->{id}),
|
product_id => $product->{id},
|
||||||
|
deduplicate => join("/", $invocant->id, $product->{id}),
|
||||||
})
|
})
|
||||||
->add_contra($addon->{contra}, -$addon->{price}, "$d for \$you");
|
->add_contra($addon->{contra}, -$addon->{price}, "$d for \$you");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue