mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-24 03:58:27 +00:00
feat(db): update Asset.sizeByte and AiUsage token fields to BigInt
This commit is contained in:
@@ -44,7 +44,7 @@ export class VersionStackService {
|
||||
} else if (f.parentId !== parentId) {
|
||||
throw new Error('files do not have the same parent')
|
||||
}
|
||||
totalSize += f.sizeByte
|
||||
totalSize += Number(f.sizeByte)
|
||||
}
|
||||
|
||||
if (!parentId) {
|
||||
|
||||
Reference in New Issue
Block a user