fix: empty response when mkdir is a no-op

This commit is contained in:
KernelDeimos 2025-01-13 15:27:02 -05:00
parent 807c3ba5ec
commit f359ae193e

View File

@ -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,