@ccci/micro-server 1.0.106 → 1.0.107
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.
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -119331,9 +119331,9 @@ class BaseRouter {
|
|
|
119331
119331
|
return [
|
|
119332
119332
|
{ method: GET, path: "/", function: this.get },
|
|
119333
119333
|
{ method: POST, path: "/", function: this.post },
|
|
119334
|
-
{ method: GET, path: "/:id", function: this.getId },
|
|
119335
119334
|
{ method: GET, path: "/archives", function: this.archives },
|
|
119336
119335
|
{ method: GET, path: "/count", function: this.count },
|
|
119336
|
+
{ method: GET, path: "/:id", function: this.getId },
|
|
119337
119337
|
{ method: PUT, path: "/:id", function: this.update },
|
|
119338
119338
|
{ method: DELETE, path: "/:id", function: this.delete },
|
|
119339
119339
|
{ method: PUT, path: "/restore/:id", function: this.restore }
|