From 4788ef7bc9ed6b4248693330be9809742b89db78 Mon Sep 17 00:00:00 2001 From: Claude Brisson Date: Sat, 29 Nov 2025 16:57:33 +0100 Subject: [PATCH] Add EGF PIN to h9 export Append EGF PIN at end of player line with | separator (e.g. |12345678) when the player has a valid 8-character EGF PIN --- .../main/kotlin/org/jeudego/pairgoth/api/StandingsHandler.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api-webapp/src/main/kotlin/org/jeudego/pairgoth/api/StandingsHandler.kt b/api-webapp/src/main/kotlin/org/jeudego/pairgoth/api/StandingsHandler.kt index ae19088..7942a5a 100644 --- a/api-webapp/src/main/kotlin/org/jeudego/pairgoth/api/StandingsHandler.kt +++ b/api-webapp/src/main/kotlin/org/jeudego/pairgoth/api/StandingsHandler.kt @@ -148,6 +148,8 @@ ${ player.getArray("results")!!.map { (it as String).padStart(8, ' ') }.joinToString(" ") + }${ + player.getString("egf")?.let { if (it.length == 8) " |$it" else "" } ?: "" }" } }