삭제된 파일이나 디렉터리의 경우에도 메타데이터를 복호화하려고 시도하던 버그 수정

This commit is contained in:
static
2025-01-19 00:19:10 +09:00
parent 53bc426487
commit 5517d9f811

View File

@@ -77,6 +77,7 @@ const fetchDirectoryInfoFromServer = async (
if (res.status === 404) {
info.set(null);
await deleteDirectoryInfo(id as number);
return;
} else if (!res.ok) {
throw new Error("Failed to fetch directory information");
}
@@ -149,6 +150,7 @@ const fetchFileInfoFromServer = async (
if (res.status === 404) {
info.set(null);
await deleteFileInfo(id);
return;
} else if (!res.ok) {
throw new Error("Failed to fetch file information");
}