Skip to content

Commit

Permalink
fix: rename request to req
Browse files Browse the repository at this point in the history
  • Loading branch information
liximomo committed Dec 26, 2023
1 parent 88517aa commit a5be2ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/platform-shared/src/shared/application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export class ApplicationImpl<Config extends {} = {}> {
private async _initAppContext() {
await this._pluginManager.runner.appContext(this._context, {
router: this._router,
request: this._request
req: this._request
});
}

Expand Down
2 changes: 1 addition & 1 deletion packages/platform-shared/src/shared/runtimPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { IRouter } from './routerTypes';
export type AppComponent = unknown;
export type AppContextCtx = {
router: IRouter;
request?: ShuviRequest;
req?: ShuviRequest;
};

const init = createAsyncParallelHook<void>();
Expand Down

0 comments on commit a5be2ad

Please sign in to comment.