mirror of
https://github.com/kmc7468/arkvault.git
synced 2026-02-04 16:16:55 +00:00
파일 페이지에 카테고리 목록 및 카테고리에 추가 버튼 구현
This commit is contained in:
@@ -26,6 +26,7 @@ export const GET: RequestHandler = async ({ locals, params }) => {
|
||||
encName,
|
||||
encCreatedAt,
|
||||
encLastModifiedAt,
|
||||
categories,
|
||||
} = await getFileInformation(userId, id);
|
||||
return json(
|
||||
fileInfoResponse.parse({
|
||||
@@ -41,6 +42,7 @@ export const GET: RequestHandler = async ({ locals, params }) => {
|
||||
createdAtIv: encCreatedAt?.iv,
|
||||
lastModifiedAt: encLastModifiedAt.ciphertext,
|
||||
lastModifiedAtIv: encLastModifiedAt.iv,
|
||||
categories,
|
||||
} satisfies FileInfoResponse),
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user