Skip to content

Commit

Permalink
Project structure update
Browse files Browse the repository at this point in the history
  • Loading branch information
ab-elhaddad committed Oct 13, 2023
1 parent e96266b commit 7f85b7e
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/controllers/tasks.controller.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { NextFunction, Request, Response } from 'express';
import Tasks from '../models/tasks.model';
import setTaskPriority from './helpers/setTaskPriority';
import setTaskPriority from '../helpers/setTaskPriority';

export const create = async (req: Request, res: Response, next: NextFunction) => {
try {
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/users.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { NextFunction, Request, Response } from 'express';
import bcrypt from 'bcrypt';
import { config } from '../configuration/config';
import jwt from 'jsonwebtoken';
import sendConfirmationEmail from './helpers/sendConfirmationEmail';
import sendConfirmationEmail from '../helpers/sendConfirmationEmail';
import User from '../types/User.type';

export const signUp = async (req: Request, res: Response, next: NextFunction) => {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/models/tasks.model.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Task from '../types/Task.type';
import getDates from './helpers/getDates';
import getDates from '../helpers/getDates';
import prisma from '../lib/database';
import Subtask from '../types/Subtask.type';

Expand Down

0 comments on commit 7f85b7e

Please sign in to comment.