fix(scripts): resolve lint and typecheck errors in utility scripts
All checks were successful
ci/woodpecker/push/web Pipeline was successful

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-15 21:13:01 -05:00
parent 936a98f955
commit ad811ba70e
2 changed files with 2 additions and 1 deletions

View File

@@ -82,7 +82,7 @@ async function main() {
if (ids['hero']) {
console.log('\n── Updating Home hero image ─────────────────────────────')
const home = await payload.findGlobal({ slug: 'home', depth: 0 })
const heroData = (home as Record<string, unknown>).hero as Record<string, unknown> | undefined
const heroData = (home as unknown as Record<string, unknown>).hero as Record<string, unknown> | undefined
await payload.updateGlobal({
slug: 'home',
data: {