You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm pressed for time; here's the fix - note options.fields is set to args[1] earlier in the code, so it needs that else statement in as well, thus the if, else if, else.
This logic will fail when
{ limit: 1, fields: undefined }
because well, that's what it'll do.Suggest checking for
!(fields in args)
.lib/collection.js
The text was updated successfully, but these errors were encountered: