From c84b26804deb19986362cebc04cbad985990607f Mon Sep 17 00:00:00 2001 From: Josh Moore Date: Fri, 14 Jul 2023 22:30:17 -0600 Subject: [PATCH] misc: move soon to be deprecated constants --- backend/s3.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/s3.ts b/backend/s3.ts index 426f1b7..9c3edda 100644 --- a/backend/s3.ts +++ b/backend/s3.ts @@ -14,7 +14,6 @@ import { AbortMultipartUploadCommand, } from "@aws-sdk/client-s3"; -const NYI = 'Not yet implemented'; const NYR = 'S3 not ready'; /** @@ -168,6 +167,8 @@ export const getFileS3 = (fileKey: string): Promise => n * Deletes a file from your configured S3 provider */ export const deleteFileS3 = (): Promise => new Promise((resolve, reject) => { + const NYI = 'Not yet implemented'; + if (!s3readyCheck) return reject(NYR); log.warn('S3 Delete', NYI);