From 066cc8be8021f7aef8762a54bfe3f96e1c4aa2b9 Mon Sep 17 00:00:00 2001 From: Relitrix <46451374+relitrix@users.noreply.github.com> Date: Sun, 1 Sep 2024 18:02:39 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=D1=83=D0=BF=D1=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose-production.yml | 2 +- src/jobs/commentsWave.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose-production.yml b/docker-compose-production.yml index 9f950d7..14e56be 100644 --- a/docker-compose-production.yml +++ b/docker-compose-production.yml @@ -1,7 +1,7 @@ version: '3.8' services: trackcombot: - image: ghcr.io/relitrix/trackcombot:latest + image: ghcr.io/relitrix/trackcombot:test restart: always env_file: - .env.production diff --git a/src/jobs/commentsWave.js b/src/jobs/commentsWave.js index 3190842..de8b9a9 100644 --- a/src/jobs/commentsWave.js +++ b/src/jobs/commentsWave.js @@ -18,7 +18,7 @@ module.exports = async () => { console.error(e) } if (!basicInfo?.basicInfo?.title || !basicInfo?.basic_info?.thumbnail?.[0]?.url) { - console.log(`Failed to fetch basicInfo.\nmapSize: ${videobasicInfos.size}\nlastMapItem: ${JSON.stringify(videobasicInfos.pop(), undefined, 4)}\nvideoId: ${comm.vidId}\nbasicInfo:${JSON.stringify(basicInfo, undefined, 4)}`) + console.log(`Failed to fetch basicInfo.\nmapSize: ${videobasicInfos.size}\nlastMapItem: ${JSON.stringify(Array.from(videobasicInfos.values()).pop(), undefined, 4)}\nvideoId: ${comm.vidId}\nbasicInfo:${JSON.stringify(basicInfo, undefined, 4)}`) } return buildEmbed({ title: basicInfo?.basic_info?.title,