デバッグ表示を分かりやすく2(v4.3)
This commit is contained in:
@@ -5,6 +5,8 @@ import type * as types from "types/types.js";
|
||||
import config from "../config.js";
|
||||
|
||||
export default async function weatherNotice() {
|
||||
console.log("----------------");
|
||||
|
||||
// 仮投稿
|
||||
const resUeuse = await fetch(
|
||||
`https://${config.uwuzuServer}/api/ueuse/create`,
|
||||
@@ -22,7 +24,7 @@ export default async function weatherNotice() {
|
||||
|
||||
const ueuseData: types.ueuseCreateApi = await resUeuse.json();
|
||||
|
||||
console.log(JSON.stringify(ueuseData));
|
||||
console.log(`天気仮投稿:${JSON.stringify(ueuseData)}`);
|
||||
|
||||
|
||||
// インデックス
|
||||
@@ -114,6 +116,6 @@ export default async function weatherNotice() {
|
||||
|
||||
const replyData: types.ueuseCreateApi = await resReply.json();
|
||||
|
||||
console.log(JSON.stringify(replyData));
|
||||
console.log(`天気投稿:${JSON.stringify(replyData)}`);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user