fix: Syntax in slicing
This commit is contained in:
parent
2fca92c615
commit
dc53f80be3
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ class DBManagement {
|
|||
}
|
||||
|
||||
if (RESULT.length && (SIZE) ? (SIZE > 0 && SIZE < RESULT.length) : false) {
|
||||
RESULT = RESULT.slice(0,n);
|
||||
RESULT = RESULT.slice(0,SIZE);
|
||||
}
|
||||
|
||||
return RESULT;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue