mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2025-11-27 00:54:54 +00:00
jira-18 approval API
This commit is contained in:
@ -187,3 +187,9 @@ def generate_alphanumeric_code(length):
|
||||
code = ''.join(secrets.choice(alphabet) for _ in range(length))
|
||||
return code
|
||||
|
||||
|
||||
def generate_code(value, user_id):
|
||||
alphabet = value + user_id.zfill(3)
|
||||
return alphabet
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user