wip
This commit is contained in:
@ -6,7 +6,7 @@ import { ILocalUser } from '../../../../models/user';
|
||||
/**
|
||||
* Show reactions of a note
|
||||
*/
|
||||
module.exports = (params: any, user: ILocalUser) => new Promise(async (res, rej) => {
|
||||
export default (params: any, user: ILocalUser) => new Promise(async (res, rej) => {
|
||||
// Get 'noteId' parameter
|
||||
const [noteId, noteIdErr] = $.type(ID).get(params.noteId);
|
||||
if (noteIdErr) return rej('invalid noteId param');
|
||||
|
Reference in New Issue
Block a user