From 4c3ef7e87fb23896038641915c8f0be882aa1b05 Mon Sep 17 00:00:00 2001 From: Wilson Lau Date: Tue, 12 Dec 2023 10:17:07 -0500 Subject: [PATCH] fix: imports --- src/controllers/file.ts | 2 +- src/controllers/resize.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controllers/file.ts b/src/controllers/file.ts index 673da89..5a4a040 100644 --- a/src/controllers/file.ts +++ b/src/controllers/file.ts @@ -2,7 +2,7 @@ import * as fs from 'fs' import { Body, Controller, File, Post } from 'amala' import { fileTypeFromBuffer } from 'file-type' import { setContentType } from '../helpers/contentTypes' -import backupCID from 'helpers/backupCID' +import backupCID from '../helpers/backupCID' import ipfs from '../helpers/ipfs' @Controller('/file') diff --git a/src/controllers/resize.ts b/src/controllers/resize.ts index 640ca68..d1448ab 100644 --- a/src/controllers/resize.ts +++ b/src/controllers/resize.ts @@ -7,7 +7,7 @@ import { getCachedResize, setCachedResize } from '../helpers/resizedImageCache' import { getContentType } from '../helpers/contentTypes' import ResizeParams from '../validators/ResizeParams' import ResizeQueryParams from '../validators/ResizeQueryParams' -import backupCID from 'helpers/backupCID' +import backupCID from '../helpers/backupCID' import ipfs, { getDataFromIPFS } from '../helpers/ipfs' import resizeImage from '../helpers/resizeImage'