mirror of
https://github.com/kmc7468/arkvault.git
synced 2026-11-04 08:10:28 +09:00
thumbnail 테이블의 created_at 컬럼의 이름을 updated_at으로 변경
This commit is contained in:
1 parent
36d082e0f8
commit
c236242136
6 files changed
+13
-9
No files matched your search
@@ -16,8 +16,11 @@ export const GET: RequestHandler = async ({ locals, params }) => {
|
||||
if (!zodRes.success) error(400, "Invalid path parameters");
|
||||
const { id } = zodRes.data;
|
||||
|
||||
const { encContentIv } = await getFileThumbnailInformation(userId, id);
|
||||
const { updatedAt, encContentIv } = await getFileThumbnailInformation(userId, id);
|
||||
return json(
|
||||
fileThumbnailInfoResponse.parse({ encContentIv } satisfies FileThumbnailInfoResponse),
|
||||
fileThumbnailInfoResponse.parse({
|
||||
updatedAt: updatedAt.toISOString(),
|
||||
encContentIv,
|
||||
} satisfies FileThumbnailInfoResponse),
|
||||
);
|
||||
};
|
||||
Reference in new issue
Block a user