fix: cache import path
This commit is contained in:
parent
f4d8f82239
commit
47c2947b77
2 changed files with 2 additions and 3 deletions
|
@ -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";
|
||||||
|
|
||||||
|
|
|
@ -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([
|
||||||
|
|
Loading…
Reference in a new issue