prod deploy next fix

This commit is contained in:
Samuel Andert
2023-08-22 11:05:15 +02:00
parent 80ac314e1e
commit 3083d7cc65
3 changed files with 4 additions and 4 deletions

View File

@ -22,7 +22,7 @@ const validateUser = (params: any) => {
}
}
const plugins: MeshPlugin = [
const plugins: MeshPlugin<any> = [
useGenericAuth({
resolveUserFn,
validateUser,

View File

@ -24,7 +24,7 @@ async function fetchSchema() {
});
// Save the schema to a file
fs.writeFileSync('./schema/directus.graphql', schema);
fs.writeFileSync('./schemas/directus.graphql', schema);
}
fetchSchema().catch(console.error);