From f359ae193e87552b3a2e2aafa3fda389478fca38 Mon Sep 17 00:00:00 2001 From: KernelDeimos Date: Mon, 13 Jan 2025 15:27:02 -0500 Subject: [PATCH] fix: empty response when mkdir is a no-op --- src/backend/src/filesystem/hl_operations/hl_mkdir.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/src/filesystem/hl_operations/hl_mkdir.js b/src/backend/src/filesystem/hl_operations/hl_mkdir.js index 80291cb8..6e128428 100644 --- a/src/backend/src/filesystem/hl_operations/hl_mkdir.js +++ b/src/backend/src/filesystem/hl_operations/hl_mkdir.js @@ -331,7 +331,7 @@ class HLMkdir extends HLFilesystemOperation { } this.created = existing; this.used_existing = true; - return {}; + return await this.created.getSafeEntry(); } else { throw APIError.create('item_with_same_name_exists', null, { entry_name: target_basename,