Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add multiple environment support and cleanup #11

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
fix: correct import statement in upload controller
  • Loading branch information
hassancodess committed Sep 13, 2024
commit 2aefff0f49a4c84b43c6d52b17f16183eee9241d
4 changes: 2 additions & 2 deletions src/upload/upload.controller.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Request, Response } from 'express';
import { errorResponse, successResponse } from '../utils/api.utils';
import { updateUser } from '../user/user.services';
import { UserType } from '../types';
import { updateUser } from '../modules/user/user.services';
import { UserType } from '../modules/user/user.dto';

export const handleProfileUpload = async (req: Request, res: Response) => {
try {