Skip to content

Commit

Permalink
fix(cli): fix wrong passport import
Browse files Browse the repository at this point in the history
  • Loading branch information
Romakita committed Jan 21, 2024
1 parent 34a12a5 commit 6d7bf7e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/cli/src/utils/__snapshots__/fillImport.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Object {
"from": "@tsed/oidc-provider",
},
Object {
"from": "@tsed/passportjs",
"from": "@tsed/passport",
},
Object {
"from": "@tsed/typegraphql",
Expand Down Expand Up @@ -247,7 +247,7 @@ Object {
"from": "@tsed/oidc-provider",
},
Object {
"from": "@tsed/passportjs",
"from": "@tsed/passport",
},
Object {
"from": "@tsed/typegraphql",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/utils/fillImports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export function fillImports(ctx: any) {
ctx.swagger && {from: "@tsed/swagger"},
ctx.mongoose && {from: "@tsed/mongoose"},
ctx.oidc && {from: "@tsed/oidc-provider"},
ctx.passportjs && {from: "@tsed/passportjs"},
ctx.passportjs && {from: "@tsed/passport"},
ctx.graphql && {from: "@tsed/typegraphql"},
ctx.graphql && {from: "./datasources/index"},
ctx.graphql && {from: "./resolvers/index"},
Expand Down

0 comments on commit 6d7bf7e

Please sign in to comment.