Fixed 267U.pre2
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import config from "../../../config/index.js";
|
||||
// to anonymise reporters, the reporting actor must be a system user
|
||||
// object has to be a uri or array of uris
|
||||
export const renderFlag = (user, object, content)=>{
|
||||
return {
|
||||
type: "Flag",
|
||||
actor: `${config.url}/users/${user.id}`,
|
||||
content,
|
||||
object
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user