Skip to content

Commit

Permalink
Fix: reward state
Browse files Browse the repository at this point in the history
  • Loading branch information
glaubinix committed Mar 25, 2017
1 parent 4727564 commit be21eb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Reward/RewardListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function collect(Event $event)
public static function getSubscribedEvents()
{
return [
sprintf('workflow.%s.enter.%s', QuestDefinitionInterface::WORKFLOW_NAME, QuestDefinitionInterface::TRANSITION_COMPLETE) => 'collect',
sprintf('workflow.%s.enter.%s', QuestDefinitionInterface::WORKFLOW_NAME, QuestDefinitionInterface::STATE_COMPLETED) => 'collect',
];
}
}

0 comments on commit be21eb5

Please sign in to comment.