Skip to content

Conversation

@stephen-w-pracy
Copy link
Contributor

Description

The words.json contains words that can result in unpleasant discounts codes. For example:
image
This PR replaces the words with less problematic ones.

Shout out to, ChatGPT:

Create a JSON list with 100 unique, lower-case words. Each word can be a color, a fruit, or a bird. Do not repeat words. Use single words only.

How to test

curl the discounts service discounts a few times and confirm discounts codes look OK.

@arosenkranz arosenkranz merged commit 0a7a62a into main Apr 25, 2023
@arosenkranz arosenkranz deleted the safer-discount-codes branch April 25, 2023 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants