fix: able to change localhost's private key

This commit is contained in:
Andras Bacsai committed 2023-07-25 14:43:49 +02:00
1 parent 341f64839b
commit 6cd29ad7e4
9 files changed
+142 -121

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ class Change extends Component
$this->private_key->private_key .= "\n";
}
$this->private_key->save();
session('currentTeam')->privateKeys = PrivateKey::where('team_id', session('currentTeam')->id)->get();
refreshPrivateKey($this->private_key);
} catch (\Exception $e) {
return general_error_handler(err: $e, that: $this);
}