Skip to content

Commit

Permalink
chore: remove wip code
Browse files Browse the repository at this point in the history
  • Loading branch information
imorland committed Sep 18, 2023
1 parent 3eac530 commit 48224ff
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,6 @@ public function handle(Request $request): ResponseInterface
$token = Arr::get($parsedBody, 'token');
$userId = Arr::get($parsedBody, 'userId');

// Perhaps we should use a command instead of all the logic being here. WIP...
// $this->bus->dispatch(
// new UnsubscribeEmail($user, $token)
// );

// Fetch the unsubscribe token record
/** @var UnsubscribeToken|null $unsubscribeRecord */
$unsubscribeRecord = UnsubscribeToken::where('user_id', $userId)
Expand Down

0 comments on commit 48224ff

Please sign in to comment.