mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-25 10:19:06 +01:00
use actual ID
This commit is contained in:
parent
367e19727e
commit
2039e70177
1 changed files with 2 additions and 1 deletions
|
@ -5,6 +5,7 @@ import DeliverManager from '@/remote/activitypub/deliver-manager.js';
|
|||
import { deliver } from '@/queue/index.js';
|
||||
import { renderActivity } from '@/remote/activitypub/renderer/index.js';
|
||||
import type { IActivity } from '@/remote/activitypub/type.js';
|
||||
import { genId } from '@/misc/gen-id.js';
|
||||
import define from '../../define.js';
|
||||
import { ApiError } from '../../error.js';
|
||||
import { apiLogger } from '../../logger.js';
|
||||
|
@ -54,7 +55,7 @@ export const paramDef = {
|
|||
|
||||
function moveActivity(to: User, from: User) {
|
||||
const activity = {
|
||||
id: 'foo',
|
||||
id: genId(),
|
||||
actor: from,
|
||||
type: 'Move',
|
||||
object: from,
|
||||
|
|
Loading…
Reference in a new issue