Closed gixxerblade closed 2 years ago
Add a check for length in the footer form to help lessen the amount of spam received
Add a checkLength function to the api. The function checks for length of 1. If true, returns a 400
Tired of all the spam. Hoping this will lessen it
Wrote a unit test with a message with the length of 1
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Add a check for length in the footer form to help lessen the amount of spam received
Description
Add a checkLength function to the api. The function checks for length of 1. If true, returns a 400
Motivation and Context
Tired of all the spam. Hoping this will lessen it
How Has This Been Tested?
Wrote a unit test with a message with the length of 1
Screenshots (if appropriate):
Types of changes
Checklist: