openAIP / openaip

Public issue tracker of www.openaip.net.
39 stars 3 forks source link

TypeError: updatedAt.toISOString is not a function #335

Closed sentry-io[bot] closed 3 months ago

sentry-io[bot] commented 3 months ago

Sentry Issue: CORE-API-C

TypeError: updatedAt.toISOString is not a function
  File "/usr/src/app/modules/generate-sitemap.js", line 368, in _createSitemapsUrlsRcAirfields
    { lastmod: updatedAt.toISOString() },
  File "/usr/src/app/modules/generate-sitemap.js", line 36, in generateSitemap
    urlLocs = urlLocs.concat(await _createSitemapsUrlsRcAirfields());
  File "/usr/src/app/controllers/system-controller.js", line 253, in createSitemap
    await generateSitemap(process.env.GCP_STORAGE_BUCKET_WEBASSETS_SITEMAP);