Skip to content

Commit 9fe545c

Browse files
committed
shorten name
1 parent 7809f1f commit 9fe545c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/sidecar/references/service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def fetch_pdf_to_uploads(
4040
raise HTTPError(f"Unable to fetch {url} (status code: {response.status_code})")
4141

4242
if not metadata.source_filename:
43-
metadata.source_filename = f"{metadata.title[:200]}.pdf"
43+
metadata.source_filename = f"{metadata.title[:75]}.pdf"
4444

4545
staged_filepath = projects_service.create_project_staging_filepath(
4646
user_id, project_id, metadata.source_filename

0 commit comments

Comments
 (0)