From 2cf95ed231d661f0e50d67c2947c7fec9373e38f Mon Sep 17 00:00:00 2001 From: hayden <48267247+hayden-fr@users.noreply.github.com> Date: Fri, 24 Jan 2025 14:37:34 +0800 Subject: [PATCH] Change property name --- app/output_manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/output_manager.py b/app/output_manager.py index 749a82df6..999adf9fb 100644 --- a/app/output_manager.py +++ b/app/output_manager.py @@ -93,8 +93,8 @@ class OutputManager: "name": entry.name, "type": "folder" if entry.is_dir() else self.get_file_content_type(filepath), "size": 0 if is_dir else stat.st_size, - "createdAt": round(stat.st_ctime_ns / 1000000), - "updatedAt": round(stat.st_mtime_ns / 1000000), + "createTime": round(stat.st_ctime_ns / 1000000), + "modifyTime": round(stat.st_mtime_ns / 1000000), } with os.scandir(folder) as it, ThreadPoolExecutor() as executor: