feat: BAC-27 Implemented endpoint which returns information about the current state #103

Merged
lq64 merged 8 commits from feat/BAC-27 into main 2025-12-10 11:37:36 +01:00
Showing only changes of commit da87439a07 - Show all commits

View File

@@ -108,7 +108,7 @@ class StatusController @Inject()(
}
case None => None
}
findSelector match {
case Some(selector) =>
val isSelf = selector.id == user.id
@@ -134,7 +134,7 @@ class StatusController @Inject()(
Json.obj()
case InGame =>
Json.obj(
)
case TieBreak =>
Json.obj(
@@ -142,6 +142,7 @@ class StatusController @Inject()(
)
case FinishedMatch =>
Json.obj(
)
}
}