Skip to content

Conversation

@rahulsingh2312
Copy link
Member

Description

[created] crud for activity.js
fixed a error at .models/activityBlueprint.js

Fixes

#216

Checklist

  • CRUD
  • eslint on those 2 files
  • error explained below

error fix naming error :

before :

375703011_3518127871736304_7432172064043877889_n

after :

async function update(filter, updateObject, options = { multi: true }) {

  const updateResult = await ActivityBlueprint.updateMany(filter, { $set: updateObject }, options);

  return updateResult.acknowledged;
}

Copy link
Member

@TejasNair9977 TejasNair9977 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@TejasNair9977 TejasNair9977 merged commit bfd5ea5 into development Sep 10, 2023
@TejasNair9977 TejasNair9977 deleted the 216-curd-for-activity-model branch October 15, 2023 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants