fix: Syntax in slicing

This commit is contained in:
buzzcode2007 2025-04-11 01:16:17 +00:00
parent 2fca92c615
commit dc53f80be3

View file

@ -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;