APIパス修正・無駄import削除
This commit is contained in:
parent
a2576f961b
commit
f6f7030d8c
|
@ -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": {
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue