Fixed 267U.pre2
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import config from "../../../config/index.js";
|
||||
import { Bites } from "../../../models/index.js";
|
||||
export default (async (bite)=>({
|
||||
id: `${config.url}/bites/${bite.id}`,
|
||||
type: "Bite",
|
||||
actor: `${config.url}/users/${bite.userId}`,
|
||||
target: await Bites.targetUri(bite),
|
||||
published: bite.createdAt.toISOString(),
|
||||
to: await Bites.targetUserUri(bite)
|
||||
}));
|
||||
Reference in New Issue
Block a user