ignore double team joining
This commit is contained in:
parent
7ce9c061f5
commit
4ab47fd655
|
@ -121,6 +121,8 @@ final class TeamApi(
|
|||
).toFollowersOf(userId).toUsers(previousMembers))
|
||||
}
|
||||
}
|
||||
} recover {
|
||||
case e: reactivemongo.core.commands.LastError if e.getMessage.contains("duplicate key error") =>
|
||||
}
|
||||
|
||||
def quit(teamId: String)(implicit ctx: UserContext): Fu[Option[Team]] = for {
|
||||
|
|
Loading…
Reference in a new issue