Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Lazarr03 committed Dec 25, 2023
1 parent 59b9fbc commit f036ed5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ async function doRequest(url, apikey) {

async function getStationInfo(city, query) {
const baseUrl = `${apikeys[city].url}/publicapi/v1/announcement/announcement.php?action=get_announcement_data&station_uid=`;
if(city == "bg") throw new Error("BusLogic drastically changed and obfuscated their API. I will try to decode it, but it will take some time.");
if(city == "bg") throw new Error("BusLogic has drastically changed and obfuscated their API. I will try to decode it, but it will take some time.");
if (query.uid) var url = baseUrl + query.uid;
else if (query.id) {
if (!id_uid_map[city])
Expand Down

0 comments on commit f036ed5

Please sign in to comment.