diff --git a/apps/www/src/app/(main)/_components/CodingHours/CodingHours.tsx b/apps/www/src/app/(main)/_components/CodingHours/CodingHours.tsx index 4717a82..80b051a 100644 --- a/apps/www/src/app/(main)/_components/CodingHours/CodingHours.tsx +++ b/apps/www/src/app/(main)/_components/CodingHours/CodingHours.tsx @@ -8,7 +8,7 @@ export const CodingHours = async () => { 'https://wakatime.com/api/v1/users/current/all_time_since_today', { headers: { - Authorization: `Basic ${Buffer.from(env.WAKATIME_API_KEY).toString('base64')}`, + Authorization: `Basic ${Buffer.from(env.WAKATIME_API_KEY ?? '').toString('base64')}`, }, }, );