mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 14:07:38 -07:00
fix id of move activity
This commit is contained in:
parent
07180d073b
commit
177e9a50b2
1 changed files with 1 additions and 2 deletions
|
@ -3,7 +3,6 @@ import { resolveUser } from "@/remote/resolve-user.js";
|
|||
import { DAY } from "@/const.js";
|
||||
import DeliverManager from "@/remote/activitypub/deliver-manager.js";
|
||||
import { renderActivity } from "@/remote/activitypub/renderer/index.js";
|
||||
import { genId } from "@/misc/gen-id.js";
|
||||
import define from "../../define.js";
|
||||
import { ApiError } from "../../error.js";
|
||||
import { apiLogger } from "../../logger.js";
|
||||
|
@ -81,7 +80,7 @@ export const paramDef = {
|
|||
|
||||
function moveActivity(toUrl: string, fromUrl: string) {
|
||||
const activity = {
|
||||
id: genId(),
|
||||
id: null,
|
||||
actor: fromUrl,
|
||||
type: "Move",
|
||||
object: fromUrl,
|
||||
|
|
Loading…
Reference in a new issue