diff --git a/server/src/ais.mjs b/server/src/ais.mjs index 726211e..54c8f2b 100644 --- a/server/src/ais.mjs +++ b/server/src/ais.mjs @@ -90,5 +90,5 @@ export async function getAIS() { export function getAISImage(mmsi) { return fetch(`https://www.marinetraffic.com/getAssetDefaultPhoto/?photo_size=800&asset_type_id=0&asset_id=${mmsi}`) - .then(resp => resp.ok ? resp.blob() : null); + .then(resp => resp.blob()); }