diff --git a/src/lib/trigger.ts b/src/lib/trigger.ts index 2e90311..ac2779d 100644 --- a/src/lib/trigger.ts +++ b/src/lib/trigger.ts @@ -4,7 +4,7 @@ const TARGET_DATE_KEY = 'target_date'; const TARGET_SITE_NAME_KEY = 'site_name'; export const TERMINATION_MINUTES = 4; const TRIGGER_FUNCTION_NAME = 'setSchedule'; -const TRIGGER_DURATION: number = 60 * 1000; // 1分後 +const TRIGGER_DURATION: number = 60 * 2000; // 2分後 export default class Trigger { /** diff --git a/src/sites/keyakizaka/keyakiSiteSchedule.ts b/src/sites/keyakizaka/keyakiSiteSchedule.ts index 1a74746..7751a3d 100644 --- a/src/sites/keyakizaka/keyakiSiteSchedule.ts +++ b/src/sites/keyakizaka/keyakiSiteSchedule.ts @@ -15,6 +15,6 @@ export default class KeyakiSiteSchedule extends SiteSchedule { // eslint-disable-next-line class-methods-use-this siteName(): string { - return 'keyakizakai'; + return 'keyakizaka'; } } diff --git a/src/sites/sakurazaka/sakuraSiteSchedule.ts b/src/sites/sakurazaka/sakuraSiteSchedule.ts index c3144cd..39d6a86 100644 --- a/src/sites/sakurazaka/sakuraSiteSchedule.ts +++ b/src/sites/sakurazaka/sakuraSiteSchedule.ts @@ -15,6 +15,6 @@ export default class SakuraSiteSchedule extends SiteSchedule { // eslint-disable-next-line class-methods-use-this siteName(): string { - return 'sakurazakai'; + return 'sakurazaka'; } } diff --git a/src/sites/siteSchedule.ts b/src/sites/siteSchedule.ts index c3bf363..d9e7181 100644 --- a/src/sites/siteSchedule.ts +++ b/src/sites/siteSchedule.ts @@ -30,7 +30,7 @@ export default abstract class SiteSchedule implements SiteScheduleInterface { console.info( `${TERMINATION_MINUTES}分以上経過したので次のトリガーをセットして終了します。次実行開始する月: ${targetBeginningOfMonth.format( 'YYYY-MM-DD' - )}` + )}, 次実行するサイト: ${this.siteName()}` ); return; }