fix: number of usersuggestions sometimes less than 3 [VAN-1023] (#30875)

This commit is contained in:
Syed Sajjad Hussain Shah
2022-08-24 12:21:32 +05:00
committed by GitHub
parent 495d1cc86c
commit a868646e98

View File

@@ -95,7 +95,8 @@ def generate_username_suggestions(name):
{'min': 0, 'max': 9},
{'min': 10, 'max': 99},
{'min': 100, 'max': 999},
{'min': 1000, 'max': 99999},
{'min': 1000, 'max': 9999},
{'min': 10000, 'max': 99999},
]
for int_range in int_ranges:
for _ in range(10):