pwi-plata-type 0.3.2 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/libs/routes.ts +1 -1
  2. package/package.json +1 -1
package/libs/routes.ts CHANGED
@@ -250,7 +250,7 @@ export async function buildExpressRouter(): Promise<Router> {
250
250
  const prr = pr._routes[i];
251
251
 
252
252
  if (prr.path === undefined) {
253
- (router as any)[prr.method](...prr.handlers.map(PlataRoute))
253
+ (router as any)[prr.method](r.httpRoute, ...prr.handlers.map(PlataRoute))
254
254
  } else {
255
255
  (router as any)[prr.method](
256
256
  path.normalize(`${r.httpRoute}/${prr.path}`).replace(/\\/g, '/'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pwi-plata-type",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "type": "module",
5
5
  "main": "index.ts",
6
6
  "bin": {