Skip to content

Commit

Permalink
fix: import
Browse files Browse the repository at this point in the history
  • Loading branch information
florian-lefebvre committed Jul 17, 2024
1 parent 02fabee commit a0eca34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/astro/templates/env/module.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
createInvalidVariableError,
getEnv,
setOnSetGetEnv,
validateEnvVariable,
validateEnvVariables,
getEnvFieldType
} from 'astro/env/runtime';

Expand All @@ -16,7 +16,7 @@ const _internalGetSecret = (key) => {
const variable = rawVariable === '' ? undefined : rawVariable;
const options = schema[key];

const result = validateEnvVariable(variable, options);
const result = validateEnvVariables(variable, options);
if (result.ok) {
return result.value;
}
Expand Down

0 comments on commit a0eca34

Please sign in to comment.