fix str in file uid

This commit is contained in:
CHIEFSOFT\ameye
2026-02-14 09:19:09 -05:00
parent 7c97667340
commit fe4ffb3d3e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -134,7 +134,7 @@ class FileUploadService(BaseService):
return response_data
except Exception as e:
logger.error(f"An error occurred while uploading file: {str(e)}", exc_info=True)
logger.error(f"An error occurred while uploading profile file: {str(e)}", exc_info=True)
return jsonify({"message": "Internal Server Error"}), 500
@staticmethod
+1 -1
View File
@@ -103,7 +103,7 @@ class Members(db.Model):
logger.info(f"User UID = {uid} found")
raise ValueError(f"Member with UID {uid} does not exist.")
member.profile_picture = picture_uid.str()
member.profile_picture = picture_uid
return member.profile_picture
@classmethod