a1b490afa7
Closes #1411
10 lines
215 B
TypeScript
10 lines
215 B
TypeScript
import config from '../../../config';
|
|
|
|
export default (user, note) => {
|
|
return {
|
|
type: 'Like',
|
|
actor: `${config.url}/@${user.username}`,
|
|
object: note.uri ? note.uri : `${config.url}/notes/${note._id}`
|
|
};
|
|
};
|