Skip to content

Commit

Permalink
fix(remix): load context
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-sa committed May 13, 2024
1 parent f8537dc commit 8891ed7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/remix/src/lib/remix-app.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ export class RemixAppController {

const request = await createRemixRequest(event.request, event.response);

const httpScope = this.injector.createChildScope('http');
const loadContext = httpScope.get<AppLoadContext>(APP_LOAD_CONTEXT);
const loadContext = this.injector.get<AppLoadContext>(APP_LOAD_CONTEXT);

const response = await handleRequest(
request,
Expand Down

0 comments on commit 8891ed7

Please sign in to comment.