Skip to content

Commit

Permalink
fix cannot get used storage
Browse files Browse the repository at this point in the history
  • Loading branch information
zrll12 committed Dec 17, 2023
1 parent 2a1c2c7 commit 5c2b873
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public long getUsedStorage(long uid) {
if (!picture.getAvailable()) {
continue;
}
Picture p = pictureMapper.selectById(picture.getId());
Picture p = pictureMapper.selectById(picture.getPid());
if(p!=null) {
usedStorage += p.getSize();
}
Expand Down

0 comments on commit 5c2b873

Please sign in to comment.