We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5ff999 commit a7cb95bCopy full SHA for a7cb95b
servers/tenant/blueprints/event_driven/ticket.py
@@ -203,7 +203,7 @@ def ticket_get(ticket_id):
203
res = alchemyConverter(data)
204
if len(res) > 0:
205
view_url = ""
206
- if res[0]["orderS3Link"] != "":
+ if res[0]["orderS3Link"] and res[0]["orderS3Link"] != "s3link":
207
s3Path = '/'.join(res[0]["orderS3Link"].split("/")[3:])
208
view_url = s3_client.generate_presigned_url(
209
'get_object',
0 commit comments