Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: getPayloadHMR conditionally call db.connect #6510

Merged
merged 1 commit into from
May 25, 2024

Conversation

DanRibbens
Copy link
Contributor

Adds a condition to check if payload.db.connect is defined before calling it since it is an optional property of the database adapter interface.

@DanRibbens DanRibbens enabled auto-merge (squash) May 25, 2024 22:00
@DanRibbens DanRibbens merged commit ff4ea1e into beta May 25, 2024
44 of 45 checks passed
@DanRibbens DanRibbens deleted the chore/db-connect-conditionally branch May 25, 2024 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant