feat(api): fetch listens from spotify

This commit is contained in:
Julian Tölle 2020-02-02 19:21:58 +01:00
parent f253a66f86
commit f2065d3f1f
54 changed files with 1180 additions and 256 deletions

View file

@ -7,8 +7,8 @@ import { AuthService } from "./auth.service";
@Injectable()
export class SpotifyStrategy extends PassportStrategy(Strategy) {
constructor(
private readonly config: ConfigService,
private readonly authService: AuthService
private readonly authService: AuthService,
config: ConfigService
) {
super({
clientID: config.get<string>("SPOTIFY_CLIENT_ID"),