mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-17 13:38:20 +01:00
Fix bad import of invite was claimed event. Fixes #1466
This commit is contained in:
parent
9fe1d2ee50
commit
c7af76af56
@ -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));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user