]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
chore: fixes in playground
authorEduardo San Martin Morote <posva13@gmail.com>
Mon, 25 Aug 2025 15:17:10 +0000 (17:17 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Mon, 25 Aug 2025 15:17:10 +0000 (17:17 +0200)
packages/experiments-playground/src/router/index.ts

index 3f9c1bb32827c1d77f6b79da612278f8b854d577..0fec1f8d82b62966e87dd8222e19eb41b3cf60c3 100644 (file)
@@ -119,7 +119,7 @@ const r_profiles_detail = normalizeRouteRecord({
       // this version handles all kind of params but in practice,
       // the generation should recognize this is a single required param
       // and therefore userId is of type number
-      userId: PARAM_PARSER_INT,
+      userId: [PARAM_PARSER_INT],
     },
     ['profiles', 1]
   ),