From ee4a1e37747fd85efcad5f487dfd5f8667dbb0cf Mon Sep 17 00:00:00 2001 From: Sondin Date: Mon, 28 Apr 2025 12:53:40 +0800 Subject: [PATCH] code init api/models/model.py --- api/models/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/models/model.py b/api/models/model.py index c697329cc9..901e92284a 100644 --- a/api/models/model.py +++ b/api/models/model.py @@ -1012,7 +1012,7 @@ class Message(db.Model): # type: ignore[name-defined] sign_url = file_helpers.get_signed_file_url(upload_file_id) else: continue - #if as_attachment is in the url, add it to the sign_url + # if as_attachment is in the url, add it to the sign_url. if "as_attachment" in url: sign_url += "&as_attachment=true" re_sign_file_url_answer = re_sign_file_url_answer.replace(url, sign_url)