providing password reset services for a long while: circa 2025

chore: check for non 200 status code on auth test

+1 -1
+1 -1
features/command.ts
··· 9 9 Authorization: `Bearer ${process.env.HACKATIME_API_KEY}`, 10 10 }, 11 11 }, 12 - ).then((res) => (res.status === 404 ? null : res.json())); 12 + ).then((res) => (res.status === 200 ? res.json() : null)); 13 13 14 14 if (hackatimeUser) { 15 15 if (context?.respond)