Fix Event & EventType resource issues and apply formatting
- Fix EventType deletion error handling (constraint violations) - Fix Event update error (package_id column missing) - Fix Event Type dropdown options (JSON display issue) - Fix EventPackagesRelationManager query error - Add missing translations for deletion errors - Apply Pint formatting
This commit is contained in:
@@ -64,15 +64,14 @@ KEY;
|
||||
mkdir($storagePath, 0755, true);
|
||||
}
|
||||
|
||||
$publicKeyPath = $storagePath . DIRECTORY_SEPARATOR . 'public.key';
|
||||
$publicKeyPath = $storagePath.DIRECTORY_SEPARATOR.'public.key';
|
||||
if (! file_exists($publicKeyPath)) {
|
||||
file_put_contents($publicKeyPath, self::JWT_PUBLIC_KEY);
|
||||
}
|
||||
|
||||
$privateKeyPath = $storagePath . DIRECTORY_SEPARATOR . 'private.key';
|
||||
$privateKeyPath = $storagePath.DIRECTORY_SEPARATOR.'private.key';
|
||||
if (! file_exists($privateKeyPath)) {
|
||||
file_put_contents($privateKeyPath, self::JWT_PRIVATE_KEY);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user