refactor: move file
This commit is contained in:
parent
864f6620a9
commit
e141ea330a
2 changed files with 9 additions and 9 deletions
|
|
@ -14,11 +14,11 @@ import {
|
|||
} from "tsoa";
|
||||
import { Prisma, Status } from "@prisma/client";
|
||||
|
||||
import prisma from "../../db";
|
||||
import minio, { presignedGetObjectIfExist } from "../../services/minio";
|
||||
import { RequestWithUser } from "../../interfaces/user";
|
||||
import HttpError from "../../interfaces/http-error";
|
||||
import HttpStatus from "../../interfaces/http-status";
|
||||
import prisma from "../db";
|
||||
import minio, { presignedGetObjectIfExist } from "../services/minio";
|
||||
import { RequestWithUser } from "../interfaces/user";
|
||||
import HttpError from "../interfaces/http-error";
|
||||
import HttpStatus from "../interfaces/http-status";
|
||||
|
||||
if (!process.env.MINIO_BUCKET) {
|
||||
throw Error("Require MinIO bucket.");
|
||||
|
|
@ -14,10 +14,10 @@ import {
|
|||
} from "tsoa";
|
||||
import { Prisma, Status } from "@prisma/client";
|
||||
|
||||
import prisma from "../../db";
|
||||
import { RequestWithUser } from "../../interfaces/user";
|
||||
import HttpError from "../../interfaces/http-error";
|
||||
import HttpStatus from "../../interfaces/http-status";
|
||||
import prisma from "../db";
|
||||
import { RequestWithUser } from "../interfaces/user";
|
||||
import HttpError from "../interfaces/http-error";
|
||||
import HttpStatus from "../interfaces/http-status";
|
||||
|
||||
type ProductGroupCreate = {
|
||||
name: string;
|
||||
Loading…
Add table
Add a link
Reference in a new issue