chore: revert #1794 for now until permanent init architecture is established
This commit is contained in:
@@ -5,11 +5,11 @@ import Logger from '../utilities/logger';
|
||||
import loadConfig from '../config/load';
|
||||
import payload from '..';
|
||||
|
||||
export async function generateGraphQLSchema(): Promise<void> {
|
||||
export function generateGraphQLSchema(): void {
|
||||
const logger = Logger();
|
||||
const config = loadConfig();
|
||||
|
||||
await payload.init({
|
||||
payload.init({
|
||||
secret: '--unused--',
|
||||
mongoURL: false,
|
||||
local: true,
|
||||
|
||||
Reference in New Issue
Block a user