Closed JarrodMFlesch closed 2 months ago
Removes PayloadRequestWithData in favour of just PayloadRequest with optional types for data and locale
data
locale
addDataAndFileToRequest and addLocalesToRequestFromData now takes in a single argument instead of an object
addDataAndFileToRequest
addLocalesToRequestFromData
// before await addDataAndFileToRequest({ request: req }) addLocalesToRequestFromData({ request: req }) // current await addDataAndFileToRequest(req) addLocalesToRequestFromData(req)
Removes PayloadRequestWithData in favour of just PayloadRequest with optional types for
data
andlocale
addDataAndFileToRequest
andaddLocalesToRequestFromData
now takes in a single argument instead of an object