From 6934e8fd0238b06f006d79087f090c28a88bc59b Mon Sep 17 00:00:00 2001 From: Loan Robert Date: Mon, 22 Apr 2024 15:11:38 +0200 Subject: [PATCH] fix: add nextcloud image with correct filename and not path --- web/b3desk/endpoints/meeting_files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/b3desk/endpoints/meeting_files.py b/web/b3desk/endpoints/meeting_files.py index ba7c530..17aaa6d 100644 --- a/web/b3desk/endpoints/meeting_files.py +++ b/web/b3desk/endpoints/meeting_files.py @@ -393,7 +393,7 @@ def add_meeting_file_nextcloud(path, meeting_id, is_default): ) meeting_file = MeetingFiles( - title=path, + title=path.split("/")[-1], created_at=date.today(), meeting_id=meeting_id, nc_path=path,