Removed console.logs

This commit is contained in:
2024-10-18 19:06:47 -03:00
parent f73dc89c82
commit 359fda5fd5
3 changed files with 3 additions and 12 deletions

View File

@@ -1,5 +1,5 @@
import * as cloudinary from "cloudinary";
import { Entry } from "../api/routers/entry";
import { type Entry } from "../api/routers/entry";
export const generateEntryUniqueKey = (entry: Entry): string => {
return `${entry.type}:${entry.name.trim().toLowerCase().replace(/\s/g, "-")}:${entry.number || 1}`;
@@ -16,7 +16,6 @@ export const uploadImage = async (
try {
const result = await cloudinary.v2.uploader.upload(imagePath, options);
console.log(result);
return result.public_id;
} catch (error) {
console.error(error);
@@ -37,7 +36,6 @@ export const makeImageSpooky = (publicId: string, number?: number) => {
try {
const result = cloudinary.v2.image(publicId, { ...options });
console.log(result);
return result;
} catch (error) {
console.error(error);