Fix error.
This commit is contained in:
parent
025131841b
commit
58696780c8
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ class InMemorySessionStore(
|
|||
}
|
||||
|
||||
override suspend fun getSession(sessionId: String): SessionData? {
|
||||
return sessionDataListFlow.value.first { it.userId == sessionId }
|
||||
return sessionDataListFlow.value.firstOrNull { it.userId == sessionId }
|
||||
}
|
||||
|
||||
override suspend fun getAllSessions(): List<SessionData> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue