Set user when upgrading from AppSumo
This commit is contained in:
parent
796b69f60f
commit
9e2bf1c280
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue