Skip to content

Commit

Permalink
removing update function from experimentuserservice as its not used a…
Browse files Browse the repository at this point in the history
…nywhere else
  • Loading branch information
ppratikcr7 committed Oct 30, 2024
1 parent 703bbd9 commit 2f4d59d
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -233,12 +233,6 @@ export class ExperimentUserService {
return this.userRepository.save(newDocument);
}

public update(id: string, user: Partial<ExperimentUser>, logger: UpgradeLogger): Promise<ExperimentUser> {
logger.info({ message: `Update a user ${user.toString()}` });
user.id = id;
return this.userRepository.save(user);
}

// TODO should we check for workingGroup as a subset over here?
public async updateGroupMembership(
userId: string,
Expand Down

0 comments on commit 2f4d59d

Please sign in to comment.