Skip to content

Commit

Permalink
Set user when upgrading from AppSumo
Browse files Browse the repository at this point in the history
  • Loading branch information
JhumanJ committed Nov 8, 2023
1 parent 796b69f commit 9e2bf1c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/Http/Controllers/Webhook/AppSumoController.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ private function createLicense(array $licenseData): License
'status' => License::STATUS_ACTIVE,
]);
$license->meta = $licenseData;
$license->user_id = $licenseData['user_id'] ?? null;
$license->save();

Log::info('[APPSUMO] creating new license',
Expand Down

0 comments on commit 9e2bf1c

Please sign in to comment.