debug session (2x)

- MariadbSessionStorage not found error fix.
This commit is contained in:
dalbodeule
2024-08-10 17:29:40 +09:00
parent a01827b055
commit a26586c6b4

View File

@@ -25,6 +25,7 @@ class MariadbSessionStorage: SessionStorage {
}
override suspend fun write(id: String, value: String) {
return transaction {
val session = Session.find(SessionTable.key eq id).firstOrNull()
if (session == null) {
@@ -37,3 +38,4 @@ class MariadbSessionStorage: SessionStorage {
}
}
}
}