mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 21:21:02 +00:00
test: create initial unit tests
This commit is contained in:
parent
be7fb7d13a
commit
e476243b85
16 changed files with 1177 additions and 18 deletions
|
|
@ -6,7 +6,6 @@ import {
|
|||
UseFilters,
|
||||
UseGuards,
|
||||
} from "@nestjs/common";
|
||||
import { ConfigService } from "@nestjs/config";
|
||||
import type { Response } from "express";
|
||||
import { User } from "../users/user.entity";
|
||||
import { AuthSession } from "./auth-session.entity";
|
||||
|
|
@ -22,10 +21,7 @@ import { SpotifyAuthFilter } from "./spotify.filter";
|
|||
|
||||
@Controller("api/v1/auth")
|
||||
export class AuthController {
|
||||
constructor(
|
||||
private readonly authService: AuthService,
|
||||
private readonly config: ConfigService
|
||||
) {}
|
||||
constructor(private readonly authService: AuthService) {}
|
||||
|
||||
@Get("spotify")
|
||||
@UseGuards(SpotifyAuthGuard)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue