@ruiapp/rapid-core 0.8.1 → 0.8.2

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 CHANGED
@@ -8578,7 +8578,7 @@ class CronJobPlugin {
8578
8578
  validateLicense(server);
8579
8579
  let handlerContext = {
8580
8580
  logger,
8581
- routerContext: null,
8581
+ routerContext: RouteContext.newSystemOperationContext(server),
8582
8582
  next: null,
8583
8583
  server,
8584
8584
  applicationConfig: null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ruiapp/rapid-core",
3
- "version": "0.8.1",
3
+ "version": "0.8.2",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -13,6 +13,7 @@ import {
13
13
  import { ActionHandlerContext } from "~/core/actionHandler";
14
14
  import { find } from "lodash";
15
15
  import { validateLicense } from "~/helpers/licenseHelper";
16
+ import { RouteContext } from "~/core/routeContext";
16
17
 
17
18
  class CronJobPlugin implements RapidPlugin {
18
19
  #server: IRpdServer;
@@ -95,7 +96,7 @@ class CronJobPlugin implements RapidPlugin {
95
96
 
96
97
  let handlerContext: ActionHandlerContext = {
97
98
  logger,
98
- routerContext: null,
99
+ routerContext: RouteContext.newSystemOperationContext(server),
99
100
  next: null,
100
101
  server,
101
102
  applicationConfig: null,