diff options
| author | Zephyrrus <[email protected]> | 2020-06-29 22:18:42 +0300 |
|---|---|---|
| committer | Zephyrrus <[email protected]> | 2020-06-29 22:18:42 +0300 |
| commit | 520062508ccad88d49229e603fc4d2c0c0a118d3 (patch) | |
| tree | 19b75c029c6e5e4ddc20e1f2fc96799d64e1705e /src/api/utils/Util.js | |
| parent | fix: heigh issues where the parent is smaller than the child (diff) | |
| download | host.fuwn.me-520062508ccad88d49229e603fc4d2c0c0a118d3.tar.xz host.fuwn.me-520062508ccad88d49229e603fc4d2c0c0a118d3.zip | |
feat: backend pagination
serverLoad++;
userRamUsage--;
Diffstat (limited to 'src/api/utils/Util.js')
| -rw-r--r-- | src/api/utils/Util.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/utils/Util.js b/src/api/utils/Util.js index b8d960d..c37297a 100644 --- a/src/api/utils/Util.js +++ b/src/api/utils/Util.js @@ -122,7 +122,7 @@ class Util { /* It's funny but if you do i++ the asignment never gets done resulting in an infinite loop */ - if (i < 5) return retry(i + 1); + if (i < 5) return retry(++i); log.error('Couldnt allocate identifier for album'); return null; }; |