mirror of
https://github.com/FranP-code/spooky-spotify-showcase.git
synced 2025-10-13 00:02:36 +00:00
Removed console.logs
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user