Skip to content

Commit

Permalink
fix: folder bigint (#505)
Browse files Browse the repository at this point in the history
  • Loading branch information
diced committed Dec 5, 2023
1 parent abb5bb5 commit 1d0bb2f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/pages/folder/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ export const getServerSideProps: GetServerSideProps<Props> = async (context) =>
folder.files[j].name,
);

// @ts-ignore
folder.files[j].size = Number(folder.files[j].size);

// @ts-ignore
if (folder.files[j].password) folder.files[j].password = true;

Expand Down

0 comments on commit 1d0bb2f

Please sign in to comment.