Skip to content

Commit

Permalink
Bump characters for case id
Browse files Browse the repository at this point in the history
  • Loading branch information
seallard committed Nov 14, 2023
1 parent 5a3a274 commit 72554a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cg/store/api/add.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def generate_readable_sample_id(self) -> str:

def generate_readable_case_id(self) -> str:
while True:
random_id = petname.Generate(3, separator="")
random_id = petname.Generate(2, separator="", letters=10)
if not self.get_case_by_internal_id(random_id):
return random_id

Expand Down

0 comments on commit 72554a4

Please sign in to comment.