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
|
||||
->add(+$addon->{price}, $d, {
|
||||
plugin => $invocant->id,
|
||||
addon_id => $addon->{id},
|
||||
deduplicate => join("/", $invocant->id, $addon->{id}),
|
||||
plugin => $invocant->id,
|
||||
addon_id => $addon->{id},
|
||||
product_id => $product->{id},
|
||||
deduplicate => join("/", $invocant->id, $product->{id}),
|
||||
})
|
||||
->add_contra($addon->{contra}, -$addon->{price}, "$d for \$you");
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue