Skip to content

Commit 84090ac

Browse files
fix: JSDoc string for focalPoint option in uploads so it correctly mentions defaults to true (#13070)
<!-- Thank you for the PR! Please go through the checklist below and make sure you've completed all the steps. Please review the [CONTRIBUTING.md](https://github.com/payloadcms/payload/blob/main/CONTRIBUTING.md) document in this repository if you haven't already. The following items will ensure that your PR is handled as smoothly as possible: - PR Title must follow conventional commits format. For example, `feat: my new feature`, `fix(plugin-seo): my fix`. - Minimal description explained as if explained to someone not immediately familiar with the code. - Provide before/after screenshots or code diffs if applicable. - Link any related issues/discussions from GitHub or Discord. - Add review comments if necessary to explain to the reviewer the logic behind a change ### What? ### Why? ### How? Fixes # --> This docstring appears to contradict the underlying behavior? Suggest a quick edit here. Co-authored-by: Paul Popus <paul@payloadcms.com>
1 parent d03054e commit 84090ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/payload/src/uploads/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ export type UploadConfig = {
223223
filesRequiredOnCreate?: boolean
224224
/**
225225
* Enables focal point positioning for image manipulation.
226-
* @default false
226+
* @default true
227227
*/
228228
focalPoint?: boolean
229229
/**

0 commit comments

Comments
 (0)