mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-04 07:16:14 +02:00
wip
This commit is contained in:
@@ -5,7 +5,7 @@ import Reaction from '../../../../../models/note-reaction';
|
||||
/**
|
||||
* Aggregate reaction of a user
|
||||
*/
|
||||
module.exports = (params: any) => new Promise(async (res, rej) => {
|
||||
export default (params: any) => new Promise(async (res, rej) => {
|
||||
// Get 'userId' parameter
|
||||
const [userId, userIdErr] = $.type(ID).get(params.userId);
|
||||
if (userIdErr) return rej('invalid userId param');
|
||||
|
||||
Reference in New Issue
Block a user