chore: revert #1794 for now until permanent init architecture is established
This commit is contained in:
@@ -4,8 +4,9 @@ import { v4 as uuid } from 'uuid';
|
||||
import payload from '../src';
|
||||
|
||||
const expressApp = express();
|
||||
|
||||
const init = async () => {
|
||||
await payload.init({
|
||||
await payload.initAsync({
|
||||
secret: uuid(),
|
||||
mongoURL: process.env.MONGO_URL || 'mongodb://localhost/payload',
|
||||
express: expressApp,
|
||||
|
||||
Reference in New Issue
Block a user