Skip to content

Commit

Permalink
fix: limits now are received in bytes so do not need to do any conver…
Browse files Browse the repository at this point in the history
…sion
  • Loading branch information
apsantiso committed Mar 6, 2024
1 parent 80126b9 commit f2e81c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/services/featureLimit.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ module.exports = (Model, App) => {
const {
file: { size },
} = data;
return Number(limit.value) < size / 1024 / 1024 / 1024;
return Number(limit.value) < size;
};

return {
Expand Down

0 comments on commit f2e81c3

Please sign in to comment.