Skip to content

Commit

Permalink
chore: format cod
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-Liendo committed Jul 18, 2024
1 parent ad1c0f7 commit 2bd1856
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/src/Routes.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Routes as ReactRoutes, Route } from 'react-router';
import useAuth from './hooks/Auth';
import Login from './pages/(auth)/Login';
import Signup from './pages/(auth)/Signup';
import Home from './pages/home';
import Login from './pages/(auth)/Login';

export enum PublicRoutesEnum {
Home = '/',
Expand Down
4 changes: 2 additions & 2 deletions server/src/controllers/Auth/login.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import validator from 'validator';
import { IUserForLogin } from '@linx/shared';
import validator from 'validator';
import { BadRequestError } from '../../utils/errorHandler';

import type { Reply } from '../../types';
import type { FastifyRequest } from 'fastify';
import Services from '../../services';
import type { Reply } from '../../types';

export default async function login(request: FastifyRequest, reply: Reply) {
const { email, password } = request.body as IUserForLogin;
Expand Down

0 comments on commit 2bd1856

Please sign in to comment.