fix (backend): undefined reference to ApiError

This commit is contained in:
sup39 2024-02-28 00:05:50 +09:00
parent 846e69fe7b
commit 3aa455b43c
Signed by: sup39
GPG key ID: 111C00916C1641E5
6 changed files with 6 additions and 0 deletions

View file

@ -1,4 +1,5 @@
import define from "@/server/api/define.js"; import define from "@/server/api/define.js";
import { ApiError } from "@/server/api/error.js";
import { Emojis } from "@/models/index.js"; import { Emojis } from "@/models/index.js";
import { In } from "typeorm"; import { In } from "typeorm";
import { db } from "@/db/postgre.js"; import { db } from "@/db/postgre.js";

View file

@ -1,4 +1,5 @@
import define from "@/server/api/define.js"; import define from "@/server/api/define.js";
import { ApiError } from "@/server/api/error.js";
import { Emojis } from "@/models/index.js"; import { Emojis } from "@/models/index.js";
import { In } from "typeorm"; import { In } from "typeorm";
import { insertModerationLog } from "@/services/insert-moderation-log.js"; import { insertModerationLog } from "@/services/insert-moderation-log.js";

View file

@ -1,4 +1,5 @@
import define from "@/server/api/define.js"; import define from "@/server/api/define.js";
import { ApiError } from "@/server/api/error.js";
import { Emojis } from "@/models/index.js"; import { Emojis } from "@/models/index.js";
import { In } from "typeorm"; import { In } from "typeorm";
import { db } from "@/db/postgre.js"; import { db } from "@/db/postgre.js";

View file

@ -1,4 +1,5 @@
import define from "@/server/api/define.js"; import define from "@/server/api/define.js";
import { ApiError } from "@/server/api/error.js";
import { Emojis } from "@/models/index.js"; import { Emojis } from "@/models/index.js";
import { In } from "typeorm"; import { In } from "typeorm";
import { db } from "@/db/postgre.js"; import { db } from "@/db/postgre.js";

View file

@ -1,4 +1,5 @@
import define from "@/server/api/define.js"; import define from "@/server/api/define.js";
import { ApiError } from "@/server/api/error.js";
import { Emojis } from "@/models/index.js"; import { Emojis } from "@/models/index.js";
import { In } from "typeorm"; import { In } from "typeorm";
import { db } from "@/db/postgre.js"; import { db } from "@/db/postgre.js";

View file

@ -1,4 +1,5 @@
import define from "@/server/api/define.js"; import define from "@/server/api/define.js";
import { ApiError } from "@/server/api/error.js";
import { Emojis } from "@/models/index.js"; import { Emojis } from "@/models/index.js";
import { In } from "typeorm"; import { In } from "typeorm";
import { db } from "@/db/postgre.js"; import { db } from "@/db/postgre.js";