Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
position-api getLocation function identifier fixed for mst
Browse files Browse the repository at this point in the history
  • Loading branch information
niczem authored Jan 2, 2024
1 parent 3c21338 commit b8a0f71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/classes/sources/ais/mst.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class MyShipTracking extends Source {

getLocation = async (mmsi: number) => {
const result = await this.fetch(
"https://www.myshiptracking.com/vessels/mmsi-310627000",
"https://www.myshiptracking.com/vessels/mmsi-"+parseInt(mmsi),
{
accept:
"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8",
Expand Down

0 comments on commit b8a0f71

Please sign in to comment.