@thzero/library_server_fastify 0.18.5 → 0.18.6

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/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@thzero/library_server_fastify",
3
3
  "type": "module",
4
- "version": "0.18.5",
4
+ "version": "0.18.6",
5
5
  "version_major": 0,
6
6
  "version_minor": 18,
7
- "version_patch": 5,
8
- "version_date": "04/06/2024",
7
+ "version_patch": 6,
8
+ "version_date": "04/07/2024",
9
9
  "description": "An opinionated library of common functionality to bootstrap a Fastify based API application.",
10
10
  "author": "thZero",
11
11
  "license": "MIT",
@@ -16,7 +16,7 @@ class UsageMetricsRoute extends BaseRoute {
16
16
  _initializeRoutes(router) {
17
17
  super._initializeRoutes(router);
18
18
 
19
- router.get(this._join('/usageMetrics/listing'),
19
+ router.post(this._join('/usageMetrics/listing'),
20
20
  // eslint-disable-next-line
21
21
  async (request, reply) => {
22
22
  const response = (await router[LibraryServerConstants.InjectorKeys.SERVICE_USAGE_METRIC].listing(request.correlationId, request.user, request.body)).check(request);