Skip to content
This repository was archived by the owner on Nov 21, 2024. It is now read-only.

Commit 2d53adb

Browse files
Bogdan KorenkovBogdan Korenkov
Bogdan Korenkov
authored and
Bogdan Korenkov
committed
syntax error
1 parent 9256fa3 commit 2d53adb

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

apps/demo/src/app/config/config.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Logger } from '@nestjs/common';
22
import {
33
AUTH_APP_FILTERS,
44
AUTH_APP_GUARDS,
5-
AUTH_PASSPORT_STRATAGIES,
5+
AUTH_PASSPORT_STRATEGIES,
66
DEFAULT_FACEBOOK_CONFIG,
77
DEFAULT_GOOGLE_PLUS_CONFIG,
88
DEFAULT_JWT_CONFIG,
@@ -23,8 +23,8 @@ const connectionString = new ConnectionString(process.env.DATABASE_URL || 'sqlit
2323
const dbFile =
2424
connectionString.protocol === 'sqlite'
2525
? './' +
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] : '')
2828
: '';
2929
try {
3030
accessSync(envFile);
@@ -106,7 +106,7 @@ export const config: IDemoConfig = {
106106
...AUTH_APP_GUARDS,
107107
...AUTH_APP_FILTERS
108108
],
109-
passportProviders: () => AUTH_PASSPORT_STRATAGIES
109+
passportProviders: () => AUTH_PASSPORT_STRATEGIES
110110
}
111111
};
112112
export function getRootPath() {

libs/rucken/auth-nestjs/src/passport/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { JwtStrategy } from './jwt.strategy';
33
import { LocalStrategySignIn, LocalStrategySignUp } from './local.strategy';
44
import { GooglePlusStrategy } from './google-plus.strategy';
55

6-
export const AUTH_PASSPORT_STRATAGIES = [
6+
export const AUTH_PASSPORT_STRATEGIES = [
77
LocalStrategySignIn,
88
LocalStrategySignUp,
99
JwtStrategy,

0 commit comments

Comments
 (0)