mirror of
https://github.com/GSA/notifications-api.git
synced 2026-05-26 16:18:34 -04:00
Rather than generating each digit of the number, generate the whole
random number in one go. Should be faster, and is a bit easier to read.
Don’t need to worry about it not being zero-padded because the
`Template` class handles this here:
6ddd2ff352/notifications_utils/template.py (L410)