mirror of
https://github.com/informaticker/discord-jellyfin-bot.git
synced 2024-11-25 02:51: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
|
ALLOW_EVERYONE_FOR_DEFAULT_PERMS: z
|
||||||
.enum(['true', 'false'])
|
.enum(['true', 'false'])
|
||||||
.default('false')
|
.default('false')
|
||||||
.transform((value) => Boolean(value)),
|
.transform((value) => value === 'true'),
|
||||||
});
|
});
|
||||||
|
|
||||||
export const getEnvironmentVariables = () => {
|
export const getEnvironmentVariables = () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user