mirror of https://github.com/TriliumNext/Notes
refactor(routes/api/recovery_codes): use .map instead of .forEach
it doesn't make sense to use a forEach here, when all we do is push values into an array => just use .map directly as it returns an arraypull/1655/head
parent
05917fd815
commit
68ea84a2cb
Loading…
Reference in New Issue