refactor: Update ProductionSeeder to fix issue with coolify_key assignment
This commit is contained in:
@@ -114,8 +114,8 @@ class ProductionSeeder extends Seeder
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if ($coolify_key) {
|
if ($coolify_key) {
|
||||||
$coolify_key = Storage::disk('ssh-keys')->get($coolify_key);
|
|
||||||
$user = str($coolify_key)->before('@')->after('id.');
|
$user = str($coolify_key)->before('@')->after('id.');
|
||||||
|
$coolify_key = Storage::disk('ssh-keys')->get($coolify_key);
|
||||||
PrivateKey::create([
|
PrivateKey::create([
|
||||||
'id' => 0,
|
'id' => 0,
|
||||||
'team_id' => 0,
|
'team_id' => 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user