mirror of
https://github.com/OMGeeky/gpt-pilot.git
synced 2025-12-29 23:53:35 +01:00
user_id defaults to OS username
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import getpass
|
||||
import sys
|
||||
import uuid
|
||||
|
||||
@@ -36,7 +37,7 @@ def get_arguments():
|
||||
arguments['app_id'] = str(uuid.uuid4())
|
||||
|
||||
if 'user_id' not in arguments:
|
||||
arguments['user_id'] = str(uuid.uuid4())
|
||||
arguments['user_id'] = getpass.getuser()
|
||||
|
||||
if 'email' not in arguments:
|
||||
# todo change email so its not uuid4 but make sure to fix storing of development steps where
|
||||
|
||||
Reference in New Issue
Block a user