Dax Raad 9 months ago
parent
commit
ad76fa8616
1 changed files with 1 additions and 1 deletions
  1. 1 1
      js/src/server/server.ts

+ 1 - 1
js/src/server/server.ts

@@ -139,7 +139,7 @@ export namespace Server {
               description: "List of sessions",
               content: {
                 "application/json": {
-                  schema: resolver(z.custom<Session.Info[]>()),
+                  schema: resolver(Session.Info.array()),
                 },
               },
             },