diff --git a/src/index.js b/src/index.js index 0313bea..00494de 100644 --- a/src/index.js +++ b/src/index.js @@ -100,7 +100,7 @@ app.get('/callback', function(req, res) { await Fetch.save_image(static_image_url, static_radar_path); await Fetch.save_image(animated_image_url, animated_radar_path); - if(post_lap == 0 || post_lap == 12) { // 12 * 5 = 60 + if(post_lap == 0 || post_lap == 36) { // 36 * 5 = 180 // Fetch static image let static_radar_image_name = `${raw_date.toISOString()}.jpg`; const upload_static_radar = await Post.create_image(host, access_token, static_radar_image_name, static_radar_path);