Fix typos and SQL query issues in codebase #56
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR addresses several small but important issues found during codebase review:
Changes
1. Fixed comment typo in
server/Models/Broadcast.csCorrected a grammatical error in the comment explaining the broadcast creation process:
2. Fixed SQL query schema prefix in
server/Models/Broadcast.csAdded missing schema prefix in the
ContactCountmethod's SQL query:tags.slugtomail.tags.slugon line 62mail.contacts,mail.tagged,mail.tags)3. Fixed template string formatting in
cli/bin/mdmail-broadcast.jsCorrected a malformed template string in the default email body:
"SendAt" in the frontmatterTesting
These minimal fixes improve code quality and prevent potential issues with SQL queries when filtering broadcasts by tags.
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.