APIパスの問題・デバッグ用コメントアウトを修正
This commit is contained in:
@@ -476,8 +476,7 @@ async function event(earthquakeInfo: any): Promise<void> {
|
||||
}
|
||||
|
||||
async function ueuse(text: string) {
|
||||
console.log(text);
|
||||
/*const res = await fetch(`https://${config.uwuzu.host}/api/ueuse/create/`, {
|
||||
const res = await fetch(`https://${config.uwuzu.host}/api/ueuse/create`, {
|
||||
method: "POST",
|
||||
body: JSON.stringify({
|
||||
token: config.uwuzu.apiToken,
|
||||
@@ -487,7 +486,7 @@ async function ueuse(text: string) {
|
||||
|
||||
const resData = await res.json();
|
||||
|
||||
console.log(`地震情報投稿:${JSON.stringify(resData)}`);*/
|
||||
console.log(`地震情報投稿:${JSON.stringify(resData)}`);
|
||||
}
|
||||
|
||||
export default function earthquakeNotice(): void {
|
||||
|
||||
Reference in New Issue
Block a user