tangled
alpha
login
or
join now
dunkirk.sh
/
hackatime-bot
0
fork
atom
providing password reset services for a long while: circa 2025
0
fork
atom
overview
issues
pulls
pipelines
chore: check for non 200 status code on auth test
Kieran Klukas
1 year ago
ec050805
942485c2
+1
-1
1 changed file
expand all
collapse all
unified
split
features
command.ts
+1
-1
features/command.ts
···
9
9
Authorization: `Bearer ${process.env.HACKATIME_API_KEY}`,
10
10
},
11
11
},
12
12
-
).then((res) => (res.status === 404 ? null : res.json()));
12
12
+
).then((res) => (res.status === 200 ? res.json() : null));
13
13
14
14
if (hackatimeUser) {
15
15
if (context?.respond)