diff --git a/src/feature/weatherNotice.ts b/src/feature/weatherNotice.ts index 2d69206..a141168 100644 --- a/src/feature/weatherNotice.ts +++ b/src/feature/weatherNotice.ts @@ -88,7 +88,7 @@ if (!isMainThread && workerData === "scheduledWeatherNotice") { console.log("天気仮投稿:", provisionalUeuse.uniqid); - weatherReply(provisionalUeuse.uniqid); + await weatherReply(provisionalUeuse.uniqid); process.exit(0); } catch (err: any) { console.error("message" in err