mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-04-10 14:39:35 +02:00
.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated Signed-off-by: Tobias Speicher <rootcommander@gmail.com>