chore: fix linting errors and ts bugs.
This commit is contained in:
@@ -201,7 +201,7 @@ export const seed = async ({
|
||||
|
||||
payload.logger.info(`— Seeding pages...`)
|
||||
|
||||
const [_, contactPage] = await Promise.all([
|
||||
await Promise.all([
|
||||
payload.create({
|
||||
collection: 'pages',
|
||||
depth: 0,
|
||||
@@ -222,11 +222,11 @@ export const seed = async ({
|
||||
await Promise.all([
|
||||
payload.updateGlobal({
|
||||
slug: 'header',
|
||||
data: headerSeedData as any,
|
||||
data: headerSeedData as never,
|
||||
}),
|
||||
payload.updateGlobal({
|
||||
slug: 'footer',
|
||||
data: footerSeedData as any,
|
||||
data: footerSeedData as never,
|
||||
}),
|
||||
])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user