Skip to content
Snippets Groups Projects
Commit 1763401c authored by Sebastian Mihalache's avatar Sebastian Mihalache
Browse files

fix(component-invite): delete test

parent 893ad670
No related branches found
No related tags found
1 merge request!13Sprint #14
const last = require('lodash/last')
class Collection { class Collection {
constructor({ collection = {} }) { constructor({ collection = {} }) {
this.collection = collection this.collection = collection
......
...@@ -53,7 +53,9 @@ module.exports = models => async (req, res) => { ...@@ -53,7 +53,9 @@ module.exports = models => async (req, res) => {
inv => inv.id !== invitation.id, inv => inv.id !== invitation.id,
) )
await collectionHelper.updateStatusByNumberOfReviewers() await collectionHelper.updateStatusByNumberOfReviewers({
invitations: fragment.invitations,
})
await teamHelper.removeTeamMember({ await teamHelper.removeTeamMember({
teamId: team.id, teamId: team.id,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment