Skip to content

Commit

Permalink
Fix lint error: Convert status code to string in template literal
Browse files Browse the repository at this point in the history
  • Loading branch information
openhands-agent committed Dec 2, 2024
1 parent 0ee2624 commit 20a56a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export async function fetchBotActivities(since?: string): Promise<BotActivity[]>
try {
const response = await fetch('/cache/bot-activities.json');
if (!response.ok) {
throw new Error(`Failed to load cached data: ${response.status} ${response.statusText}`);
throw new Error(`Failed to load cached data: ${response.status.toString()} ${response.statusText}`);
}

const data = await response.json();
Expand Down

0 comments on commit 20a56a3

Please sign in to comment.