From 5abd23e18987db0d6d7738947cf917557ce1fc68 Mon Sep 17 00:00:00 2001 From: Graham Mather Date: Wed, 11 Dec 2024 10:53:53 -0500 Subject: [PATCH] log removal --- src/utils/publicUser.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/utils/publicUser.ts b/src/utils/publicUser.ts index 1b0690f..7c76f11 100644 --- a/src/utils/publicUser.ts +++ b/src/utils/publicUser.ts @@ -52,8 +52,6 @@ export const generatePoiData = async ( longitude: number, latitude: number ): Promise => { - console.log(longitude + "\n" + latitude); - const endpoint = [ "https://api.mapbox.com/geocoding/v5/mapbox.places/", longitude, @@ -62,11 +60,9 @@ export const generatePoiData = async ( ".json?types=poi&access_token=", serverEnv.NEXT_PUBLIC_MAPBOX_ACCESS_TOKEN, ].join(""); - console.log(endpoint); const data = await fetch(endpoint) .then((response) => response.json()) .catch((err) => { - console.log("throwing here?"); throw new TRPCError({ code: "INTERNAL_SERVER_ERROR", message: "Unexpected error. Please try again.",