From 6f04d9b79a17be6b74b370f25c9aa5f78f83e0a8 Mon Sep 17 00:00:00 2001 From: zou-y-t <1354410159@qq.com> Date: Sun, 22 Oct 2023 22:36:57 +0800 Subject: [PATCH] lint --- src/index.ts | 4 +- users.json | 106 --------------------------------------------------- 2 files changed, 2 insertions(+), 108 deletions(-) delete mode 100644 users.json diff --git a/src/index.ts b/src/index.ts index 0506f653..90df3ee4 100644 --- a/src/index.ts +++ b/src/index.ts @@ -4,7 +4,7 @@ import http from "http"; import mongoose from "mongoose"; import app from "./app"; import { GraphQLClient } from "graphql-request"; -import docker_cron, { queue_element } from "./helpers/docker_queue"; +import { queue_element } from "./helpers/docker_queue"; // import docker_cron from "./helpers/docker_queue"; dotenv.config(); @@ -49,7 +49,7 @@ export const docker_queue: queue_element[] = []; // export const docker_queue: queue_element[] = JSON.parse( // fs.readFileSync("/data/queue_data.json").toString() // ); -docker_cron(); +// docker_cron(); // weekly_cron(); // weekly_init(); diff --git a/users.json b/users.json deleted file mode 100644 index a575b249..00000000 --- a/users.json +++ /dev/null @@ -1,106 +0,0 @@ -[{ - "_id": { - "$oid": "5f18053b32ce990023cb9802" - }, - "emailVerified": true, - "email": "biyesheng@test.com", - "password": "$2b$10$EbQQqZbzEimZzAfy2be2UuePQp/FtAlhjNcASyFd0OwBD2Hp4Vd82", - "role": "EEsenior", - "createdAt": { - "$date": "2020-07-22T09:22:03.070Z" - }, - "updatedAt": { - "$date": "2020-07-22T09:22:03.070Z" - }, - "__v": 0 -},{ - "_id": { - "$oid": "6432d753b1ad50c64113ba07" - }, - "email": "fudaoyuan@test.com", - "password": "$2b$10$rjh3VZPoMIk3aPLHZV.GYeaZyCIqo1Ix0nlcWqid8jw96O99E4bLu", - "role": "counselor", - "emailVerified": true, - "createdAt": { - "$date": "2023-04-09T15:18:43.874Z" - }, - "updatedAt": { - "$date": "2023-04-09T15:18:43.874Z" - }, - "__v": 0 -},{ - "_id": { - "$oid": "6432d767b1ad50c64113ba09" - }, - "email": "laoshi@test.com", - "password": "$2b$10$E/fkajTOO39wFYrY6Ce0/u66d5Q31EoCDHlEFHKtyIZKFsdoCs7La", - "role": "teacher", - "emailVerified": true, - "createdAt": { - "$date": "2023-04-09T15:19:03.869Z" - }, - "updatedAt": { - "$date": "2023-04-09T15:19:03.869Z" - }, - "__v": 0 -},{ - "_id": { - "$oid": "637a32025e3f5510ae0c7ff2" - }, - "email": "student2@test.com", - "password": "$2b$10$WZNvP4SaAHN/AtseUfZJK./QYLtPQ8r2LmIhdpzKZ3sqtFQ1IGYAm", - "role": "user", - "emailVerified": true, - "createdAt": { - "$date": "2022-11-20T13:56:18.933Z" - }, - "updatedAt": { - "$date": "2022-11-20T13:56:18.933Z" - }, - "__v": 0 -},{ - "_id": { - "$oid": "637a329a5e3f5510ae0c7ff8" - }, - "email": "student3@test.com", - "password": "$2b$10$Mq/TT2jAHV7RVpOQtTjCV.08r8pykGwlGzuZr0S0TdjW79RDoZGim", - "role": "user", - "emailVerified": true, - "createdAt": { - "$date": "2022-11-20T13:58:50.723Z" - }, - "updatedAt": { - "$date": "2022-11-20T13:58:50.723Z" - }, - "__v": 0 -},{ - "_id": { - "$oid": "6439034f9c59ea5891f2e874" - }, - "email": "xuesheng1@test.com", - "password": "$2b$10$uVUbK4LOv5uVYY4d4sRacecJQ0hv1JfoNr2.wND0sRRRCLTyG6cx2", - "role": "student", - "emailVerified": true, - "createdAt": { - "$date": "2023-04-14T07:39:59.930Z" - }, - "updatedAt": { - "$date": "2023-04-14T07:39:59.930Z" - }, - "__v": 0 -},{ - "_id": { - "$oid": "6432d716b1ad50c64113ba03" - }, - "email": "xuesheng@test.com", - "password": "$2b$10$NCOdzTOfR.x4gr519iuUheF7qoi.RQFbUwKe4Px95iYz/GyKhqTMm", - "role": "student", - "emailVerified": true, - "createdAt": { - "$date": "2023-04-09T15:17:42.103Z" - }, - "updatedAt": { - "$date": "2023-04-09T15:17:42.103Z" - }, - "__v": 0 -}] \ No newline at end of file