Skip to content

Commit

Permalink
Fix stan
Browse files Browse the repository at this point in the history
  • Loading branch information
vhande committed Jun 27, 2024
1 parent 8c330f6 commit 7f78b20
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ public function requestActivation(string $id, RequestActivationRequest $request)
$this->organizationRepository->save($organization);

$organizers = OrganizerMapper::map($request, $id);
$this->organizerRepository->save(...$organizers);
$this->organizerRepository->create(...$organizers);

$this->integrationRepository->requestActivation(Uuid::fromString($id), $organization->id, $request->input('coupon'));

Expand Down
4 changes: 2 additions & 2 deletions app/Domain/Integrations/Mappers/OrganizerMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace App\Domain\Integrations\Mappers;

use App\Domain\Integrations\FormRequests\GetOrganizersRequest;
use App\Domain\Integrations\FormRequests\RequestActivationRequest;
use App\Domain\Integrations\Organizer;
use Ramsey\Uuid\Uuid;

Expand All @@ -13,7 +13,7 @@ final class OrganizerMapper
/**
* @return Organizer[]
*/
public static function map(GetOrganizersRequest $request, string $id): array
public static function map(RequestActivationRequest $request, string $id): array
{
/**
* @var Organizer[] $organizers
Expand Down

0 comments on commit 7f78b20

Please sign in to comment.