mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 21:21:02 +00:00
17 lines
393 B
TypeScript
17 lines
393 B
TypeScript
|
|
import { HttpModule, Module } from "@nestjs/common";
|
||
|
|
import { SpotifyAuthService } from "./spotify-auth.service";
|
||
|
|
|
||
|
|
@Module({
|
||
|
|
imports: [
|
||
|
|
HttpModule.registerAsync({
|
||
|
|
useFactory: () => ({
|
||
|
|
timeout: 5000,
|
||
|
|
baseURL: "https://accounts.spotify.com/"
|
||
|
|
})
|
||
|
|
})
|
||
|
|
],
|
||
|
|
providers: [SpotifyAuthService],
|
||
|
|
exports: [SpotifyAuthService]
|
||
|
|
})
|
||
|
|
export class SpotifyAuthModule {}
|