Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ms7ru authored Nov 30, 2024
1 parent e30d66b commit ab815be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clock/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
try {
// Fetch time data from the API
const response = await fetch('https://api.api-ninjas.com/v1/worldtime?city=UTC', {
headers: { 'X-Api-Key': 'IqFWXtMcrzehyfH0YxCYjg==VBFfbPmaACUddPII' }
headers: { 'X-Api-Key': '2eEzI79cHATEpMoUB9xKwKW76R7DSPowWDAHC34l' }
});

if (!response.ok) throw new Error('Failed to fetch time data');
Expand Down

0 comments on commit ab815be

Please sign in to comment.