Skip to content

Commit

Permalink
Merge pull request #2218 from bakaphp/refact-create-user-app
Browse files Browse the repository at this point in the history
refact: create user app
  • Loading branch information
Keysie27 authored Oct 18, 2024
2 parents c00612b + f89d8cf commit dd63196
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

namespace Kanvas\Connectors\Stripe\Workflows\Activities;

use Baka\Traits\KanvasJobsTrait;
use Baka\Users\Contracts\UserInterface;
use Kanvas\Apps\Models\Apps;
use Kanvas\Connectors\Stripe\Enums\ConfigurationEnum;
Expand All @@ -14,6 +15,8 @@

class SetPlanWithoutPaymentActivity extends Activity
{
use KanvasJobsTrait;

public $tries = 5;

/**
Expand All @@ -28,6 +31,7 @@ public function validateStripe(Apps $app)

public function execute(UserInterface $user, Apps $app, array $params): array
{
$this->overwriteAppService($app);
$this->validateStripe($app);
$company = $user->getCurrentCompany();
$response = [];
Expand Down

0 comments on commit dd63196

Please sign in to comment.