mirror of
https://github.com/ershisan99/flashcards-api.git
synced 2025-12-16 12:33:17 +00:00
create use cases for auth
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { Injectable, UnauthorizedException } from '@nestjs/common'
|
||||
import { addDays, isBefore } from 'date-fns'
|
||||
import { Injectable } from '@nestjs/common'
|
||||
import { addDays } from 'date-fns'
|
||||
import * as jwt from 'jsonwebtoken'
|
||||
import * as bcrypt from 'bcrypt'
|
||||
import { UsersRepository } from '../users/infrastructure/users.repository'
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
import { CreateUserInput, EntityWithPaginationType, User, UserViewType } from '../../../types/types'
|
||||
import { Injectable } from '@nestjs/common'
|
||||
import jwt from 'jsonwebtoken'
|
||||
import { UsersRepository } from '../infrastructure/users.repository'
|
||||
import * as bcrypt from 'bcrypt'
|
||||
import { MailerService } from '@nestjs-modules/mailer'
|
||||
|
||||
Reference in New Issue
Block a user