fix: cache import path

This commit is contained in:
Namekuji 2023-08-06 00:42:27 -04:00
parent f4d8f82239
commit 47c2947b77
No known key found for this signature in database
GPG key ID: 1D62332C07FBA532
2 changed files with 2 additions and 3 deletions

View file

@ -2,7 +2,7 @@ import create from "@/services/blocking/create.js";
import define from "../../define.js"; import define from "../../define.js";
import { ApiError } from "../../error.js"; import { ApiError } from "../../error.js";
import { getUser } from "../../common/getters.js"; import { getUser } from "../../common/getters.js";
import { Blockings, NoteWatchings, Users } from "@/models/index.js"; import { NoteWatchings, Users } from "@/models/index.js";
import { HOUR } from "@/const.js"; import { HOUR } from "@/const.js";
import { UserBlockedCache } from "@/misc/cache.js"; import { UserBlockedCache } from "@/misc/cache.js";

View file

@ -17,10 +17,9 @@ import {
} from "@/models/index.js"; } from "@/models/index.js";
import { perUserFollowingChart } from "@/services/chart/index.js"; import { perUserFollowingChart } from "@/services/chart/index.js";
import { genId } from "@/misc/gen-id.js"; import { genId } from "@/misc/gen-id.js";
import { IdentifiableError } from "@/misc/identifiable-error.js";
import { getActiveWebhooks } from "@/misc/webhook-cache.js"; import { getActiveWebhooks } from "@/misc/webhook-cache.js";
import { webhookDeliver } from "@/queue/index.js"; import { webhookDeliver } from "@/queue/index.js";
import { UserBlockedCache } from "@/misc/cache"; import { UserBlockedCache } from "@/misc/cache.js";
export default async function (blocker: User, blockee: User) { export default async function (blocker: User, blockee: User) {
await Promise.all([ await Promise.all([