auth giving out actual random seesionId
This commit is contained in:
parent
62d63546c4
commit
867b2f0f20
|
@ -42,8 +42,7 @@ object Auth {
|
|||
override def joinRoom(roomId: RoomID, playerId: PlayerID): F[ResponseCookie] = {
|
||||
// TODO check for existing session for same room
|
||||
// and do i want to logout if existing session for another room? ugh
|
||||
// newSessionId = Random.nextLong() // TODO return after i stop mocking RoomService
|
||||
val newSessionId = TestModels.testSessionId
|
||||
val newSessionId = Random.nextLong()
|
||||
sessions
|
||||
.update(_.updated(newSessionId, (roomId, playerId)))
|
||||
.as(
|
||||
|
|
Loading…
Reference in New Issue