mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 21:21:02 +00:00
feat(api): fetch listens from spotify
This commit is contained in:
parent
f253a66f86
commit
f2065d3f1f
54 changed files with 1180 additions and 256 deletions
16
src/sources/spotify/spotify-auth/spotify-auth.module.ts
Normal file
16
src/sources/spotify/spotify-auth/spotify-auth.module.ts
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
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 {}
|
||||
Loading…
Add table
Add a link
Reference in a new issue