APIパス修正・無駄import削除

This commit is contained in:
Last2014 2025-08-01 22:03:36 +09:00
parent a2576f961b
commit f6f7030d8c
3 changed files with 2 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name": "notice-uwuzu",
"version": "v7.1(LTS)@uwuzu1.5.4",
"version": "v7.1.1(LTS)@uwuzu1.5.4",
"description": "Notice Bot for uwuzu",
"main": "dist/main.js",
"scripts": {

View File

@ -15,7 +15,7 @@ export default async function Follow(data: ueuse) {
console.log("フォロー: ", followRes);
const noticeReq = await fetch(`https://${config.uwuzu.host}/api/ueuse/create/`, {
const noticeReq = await fetch(`https://${config.uwuzu.host}/api/ueuse/create`, {
method: "POST",
body: JSON.stringify({
token: config.uwuzu.apiToken,

View File

@ -2,7 +2,6 @@ import WebSocket from "ws";
import sendMail from "../src/mailer.js";
import config from "../config.js";
import { max } from "date-fns/fp";
class P2PEarthquakeClient {
private ws: WebSocket | null = null;