rotimi-best/parchmentnotebook-api

Add to JS interview questions. The diff between 1 and 2

todo opened this issue · 0 comments

todo commented

// TODO: Add to JS interview questions. The diff between 1 and 2
const { owner: user, _id: prayerId } = prayer; //1. const { id: userId } = user
let prayerList = fieldsToUpdate.prayerList;
if (len(prayerList)) {
prayerList = prayerList.map(list => ObjectId(list._id));


This issue was generated by todo based on a TODO comment in f272671. It's been assigned to @rotimi-best because they committed the code.