mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-25 17:34:52 +10:00
feat(i18n): translate error messages
This commit is contained in:
@@ -2,9 +2,9 @@ import { BadRequestException, Injectable, UnauthorizedException } from "@nestjs/
|
||||
import { PassportStrategy } from "@nestjs/passport";
|
||||
import { User } from "@prisma/client";
|
||||
import { processUsername } from "@reactive-resume/utils";
|
||||
import { ErrorMessage } from "@reactive-resume/utils";
|
||||
import { Profile, Strategy, StrategyOptions } from "passport-github2";
|
||||
|
||||
import { ErrorMessage } from "@/server/constants/error-message";
|
||||
import { UserService } from "@/server/user/user.service";
|
||||
|
||||
@Injectable()
|
||||
|
||||
@@ -2,9 +2,9 @@ import { BadRequestException, Injectable, UnauthorizedException } from "@nestjs/
|
||||
import { PassportStrategy } from "@nestjs/passport";
|
||||
import { User } from "@prisma/client";
|
||||
import { processUsername } from "@reactive-resume/utils";
|
||||
import { ErrorMessage } from "@reactive-resume/utils";
|
||||
import { Profile, Strategy, StrategyOptions, VerifyCallback } from "passport-google-oauth20";
|
||||
|
||||
import { ErrorMessage } from "@/server/constants/error-message";
|
||||
import { UserService } from "@/server/user/user.service";
|
||||
|
||||
@Injectable()
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
import { BadRequestException, Injectable } from "@nestjs/common";
|
||||
import { PassportStrategy } from "@nestjs/passport";
|
||||
import { ErrorMessage } from "@reactive-resume/utils";
|
||||
import { IStrategyOptions, Strategy } from "passport-local";
|
||||
|
||||
import { ErrorMessage } from "@/server/constants/error-message";
|
||||
|
||||
import { AuthService } from "../auth.service";
|
||||
|
||||
@Injectable()
|
||||
|
||||
Reference in New Issue
Block a user