This repository was archived by the owner on Nov 21, 2024. It is now read-only.
File tree 2 files changed +5
-5
lines changed
libs/rucken/auth-nestjs/src/passport
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { Logger } from '@nestjs/common';
2
2
import {
3
3
AUTH_APP_FILTERS ,
4
4
AUTH_APP_GUARDS ,
5
- AUTH_PASSPORT_STRATAGIES ,
5
+ AUTH_PASSPORT_STRATEGIES ,
6
6
DEFAULT_FACEBOOK_CONFIG ,
7
7
DEFAULT_GOOGLE_PLUS_CONFIG ,
8
8
DEFAULT_JWT_CONFIG ,
@@ -23,8 +23,8 @@ const connectionString = new ConnectionString(process.env.DATABASE_URL || 'sqlit
23
23
const dbFile =
24
24
connectionString . protocol === 'sqlite'
25
25
? './' +
26
- ( connectionString . hosts ? connectionString . hosts [ 0 ] . name : '' ) +
27
- ( connectionString . path ? '/' + connectionString . path [ 0 ] : '' )
26
+ ( connectionString . hosts ? connectionString . hosts [ 0 ] . name : '' ) +
27
+ ( connectionString . path ? '/' + connectionString . path [ 0 ] : '' )
28
28
: '' ;
29
29
try {
30
30
accessSync ( envFile ) ;
@@ -106,7 +106,7 @@ export const config: IDemoConfig = {
106
106
...AUTH_APP_GUARDS ,
107
107
...AUTH_APP_FILTERS
108
108
] ,
109
- passportProviders : ( ) => AUTH_PASSPORT_STRATAGIES
109
+ passportProviders : ( ) => AUTH_PASSPORT_STRATEGIES
110
110
}
111
111
} ;
112
112
export function getRootPath ( ) {
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { JwtStrategy } from './jwt.strategy';
3
3
import { LocalStrategySignIn , LocalStrategySignUp } from './local.strategy' ;
4
4
import { GooglePlusStrategy } from './google-plus.strategy' ;
5
5
6
- export const AUTH_PASSPORT_STRATAGIES = [
6
+ export const AUTH_PASSPORT_STRATEGIES = [
7
7
LocalStrategySignIn ,
8
8
LocalStrategySignUp ,
9
9
JwtStrategy ,
You can’t perform that action at this time.
0 commit comments