lib/3llo/commands/card/self_assign.rb in 3llo-0.1.8 vs lib/3llo/commands/card/self_assign.rb in 3llo-0.1.9.beta

- old
+ new

@@ -17,10 +17,12 @@ private attr_reader :user_id, :card_id def assign_card - API::Card.assign_members(card_id, [user_id]) + card = API::Card.find(card_id) + members = card[:idMembers] << user_id + API::Card.assign_members(card_id, members) end def interface $container.resolve(:interface) end