Change post interval to 3 hours
This commit is contained in:
parent
284f8acad3
commit
84e3e32e59
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue