Store empty user_url as None in initialize_task_v2 (#3793)
This commit is contained in:
committed by
GitHub
parent
26a55ebb74
commit
19c4a3bb78
@@ -166,7 +166,7 @@ async def initialize_task_v2(
|
||||
) -> TaskV2:
|
||||
task_v2 = await app.DATABASE.create_task_v2(
|
||||
prompt=user_prompt,
|
||||
url=user_url,
|
||||
url=user_url if user_url else None,
|
||||
organization_id=organization.organization_id,
|
||||
totp_verification_url=totp_verification_url,
|
||||
totp_identifier=totp_identifier,
|
||||
|
||||
Reference in New Issue
Block a user