mirror of
https://github.com/informaticker/discord-jellyfin-bot.git
synced 2024-11-24 18:41:57 +01:00
🐛 Fix env transformation
This commit is contained in:
parent
1b61349027
commit
569143bb3c
@ -24,7 +24,7 @@ export const environmentVariablesSchema = z.object({
|
||||
ALLOW_EVERYONE_FOR_DEFAULT_PERMS: z
|
||||
.enum(['true', 'false'])
|
||||
.default('false')
|
||||
.transform((value) => Boolean(value)),
|
||||
.transform((value) => value === 'true'),
|
||||
});
|
||||
|
||||
export const getEnvironmentVariables = () => {
|
||||
|
Loading…
Reference in New Issue
Block a user