File tree Expand file tree Collapse file tree
backend/src/api/controllers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -199,6 +199,7 @@ export async function reportCompletedEventMismatch(
199199 difficulty,
200200 duration,
201201 funboxes,
202+ version,
202203 } = req . body ;
203204 // Logger.warning(
204205 // `Completed event mismatch for uid ${uid}: ${notMatching.join(", ")}`,
@@ -217,6 +218,7 @@ export async function reportCompletedEventMismatch(
217218 difficulty,
218219 duration,
219220 funboxes,
221+ version,
220222 } ,
221223 uid ,
222224 ) ;
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ export const ReportCompletedEventMismatchRequestSchema = z.object({
7575 difficulty : DifficultySchema . optional ( ) ,
7676 duration : z . number ( ) . max ( 200 ) . optional ( ) ,
7777 funboxes : z . string ( ) . max ( 100 ) . optional ( ) ,
78- version : z . number ( ) ,
78+ version : z . literal ( 1 ) ,
7979 // ce: z.record(z.unknown()),
8080 // ce2: z.record(z.unknown()),
8181} ) ;
You can’t perform that action at this time.
0 commit comments