mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 21:21:02 +00:00
chore(api): update dependencies
This commit is contained in:
parent
05f230a7ce
commit
d881a78757
37 changed files with 4804 additions and 2700 deletions
|
|
@ -14,14 +14,14 @@ import { SpotifyStrategy } from "./spotify.strategy";
|
|||
JwtModule.registerAsync({
|
||||
useFactory: (config: ConfigService) => ({
|
||||
secret: config.get<string>("JWT_SECRET"),
|
||||
signOptions: { expiresIn: config.get<string>("JWT_EXPIRATION_TIME") }
|
||||
signOptions: { expiresIn: config.get<string>("JWT_EXPIRATION_TIME") },
|
||||
}),
|
||||
inject: [ConfigService]
|
||||
inject: [ConfigService],
|
||||
}),
|
||||
UsersModule
|
||||
UsersModule,
|
||||
],
|
||||
providers: [AuthService, SpotifyStrategy, JwtStrategy],
|
||||
exports: [PassportModule],
|
||||
controllers: [AuthController]
|
||||
controllers: [AuthController],
|
||||
})
|
||||
export class AuthModule {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue