Merge pull request #1467 from CachetHQ/fix-invite-claimed-event

Fix bad import of invite was claimed event
This commit is contained in:
James Brooks 2016-02-08 12:15:09 +00:00
commit 9666dc67f9

View File

@ -12,7 +12,7 @@
namespace CachetHQ\Cachet\Bus\Handlers\Commands\Invite;
use CachetHQ\Cachet\Bus\Commands\Invite\ClaimInviteCommand;
use CachetHQ\Cachet\Bus\Events\Invite\InviteWasClaimed;
use CachetHQ\Cachet\Bus\Events\Invite\InviteWasClaimedEvent;
use Carbon\Carbon;
class ClaimInviteCommandHandler
@ -31,6 +31,6 @@ class ClaimInviteCommandHandler
$invite->claimed_at = Carbon::now();
$invite->save();
event(new InviteWasClaimed($invite));
event(new InviteWasClaimedEvent($invite));
}
}