Remove logs

This commit is contained in:
2024-08-22 23:38:20 +02:00
parent 3d1d55b95f
commit a5120d006a
4 changed files with 6 additions and 5 deletions

View File

@@ -2,7 +2,6 @@ import type { OpenWeatherType } from '~~/types/types'
export default defineCachedEventHandler(async (event) => {
const config = useRuntimeConfig(event)
console.log(config.openWeather)
const openWeather = await $fetch<OpenWeatherType>('https://api.openweathermap.org/data/2.5/weather', {
params: {
@@ -13,7 +12,6 @@ export default defineCachedEventHandler(async (event) => {
units: config.openWeather.units,
},
})
console.log(openWeather)
return {
weather: openWeather.weather[0].description,
city: openWeather.name,