chore: properly export getFileByPath

This commit is contained in:
Elliot DeNolf
2024-03-19 01:24:05 -04:00
parent 1ac76d7758
commit 9a493491f1
10 changed files with 20 additions and 20 deletions

View File

@@ -1,9 +1,9 @@
import type { Payload } from 'payload'
import path from 'path'
import { getFileByPath } from 'payload/utilities'
import { fileURLToPath } from 'url'
import getFileByPath from '../../packages/payload/src/uploads/getFileByPath.js'
import { initPayloadInt } from '../helpers/initPayloadInt.js'
import removeFiles from '../helpers/removeFiles.js'
import configPromise from './config.js'