diff --git a/src/converters/main.ts b/src/converters/main.ts
index 3245841..766a97f 100644
--- a/src/converters/main.ts
+++ b/src/converters/main.ts
@@ -108,7 +108,7 @@ export async function mainConverter(
console.log(
`No available converter supports converting from ${fileType} to ${convertTo}.`,
);
- return "File type not supported"
+ return "File type not supported";
}
try {
@@ -123,13 +123,13 @@ export async function mainConverter(
console.log(
`Converted ${inputFilePath} from ${fileType} to ${convertTo} successfully using ${converterName}.`,
);
- return "Done"
+ return "Done";
} catch (error) {
console.error(
`Failed to convert ${inputFilePath} from ${fileType} to ${convertTo} using ${converterName}.`,
error,
);
- return "Failed, check logs"
+ return "Failed, check logs";
}
}
diff --git a/src/helpers/normalizeFiletype.ts b/src/helpers/normalizeFiletype.ts
index a4668a2..d04083b 100644
--- a/src/helpers/normalizeFiletype.ts
+++ b/src/helpers/normalizeFiletype.ts
@@ -1,6 +1,6 @@
export const normalizeFiletype = (filetype: string): string => {
const lowercaseFiletype = filetype.toLowerCase();
-
+
switch (lowercaseFiletype) {
case "jpg":
return "jpeg";
@@ -11,11 +11,11 @@ export const normalizeFiletype = (filetype: string): string => {
default:
return lowercaseFiletype;
}
-}
+};
export const normalizeOutputFiletype = (filetype: string): string => {
const lowercaseFiletype = filetype.toLowerCase();
-
+
switch (lowercaseFiletype) {
case "jpeg":
return "jpg";
@@ -24,4 +24,4 @@ export const normalizeOutputFiletype = (filetype: string): string => {
default:
return lowercaseFiletype;
}
-}
\ No newline at end of file
+};
diff --git a/src/index.tsx b/src/index.tsx
index d1d8664..7a55a70 100644
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -458,7 +458,9 @@ const app = new Elysia()
))}
@@ -485,7 +487,9 @@ const app = new Elysia()
),