デバッグ表示を分かりやすく2(v4.3)
This commit is contained in:
@@ -23,7 +23,12 @@ if (start < stop) {
|
||||
|
||||
|
||||
export default async function timeNotice() {
|
||||
if (inRange === false) {
|
||||
console.log("----------------");
|
||||
|
||||
if (inRange) {
|
||||
console.log("時報休止期間のため投稿されませんでした");
|
||||
return;
|
||||
} else {
|
||||
// 投稿
|
||||
const resUeuse = await fetch(
|
||||
`https://${config.uwuzuServer}/api/ueuse/create`,
|
||||
@@ -38,6 +43,6 @@ export default async function timeNotice() {
|
||||
|
||||
const ueuseData: types.ueuseCreateApi = await resUeuse.json();
|
||||
|
||||
console.log(JSON.stringify(ueuseData));
|
||||
console.log(`時報投稿:${JSON.stringify(ueuseData)}`);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user