Set user when upgrading from AppSumo

This commit is contained in:
Julien Nahum 2023-11-08 22:18:22 +01:00
parent 796b69f60f
commit 9e2bf1c280
1 changed files with 1 additions and 0 deletions

View File

@ -66,6 +66,7 @@ class AppSumoController extends Controller
'status' => License::STATUS_ACTIVE,
]);
$license->meta = $licenseData;
$license->user_id = $licenseData['user_id'] ?? null;
$license->save();
Log::info('[APPSUMO] creating new license',