mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-03 09:06:17 +02:00
wip
This commit is contained in:
@@ -9,7 +9,7 @@ import { ILocalUser } from '../../../../models/user';
|
||||
/**
|
||||
* Get notifications
|
||||
*/
|
||||
module.exports = (params: any, user: ILocalUser) => new Promise(async (res, rej) => {
|
||||
export default (params: any, user: ILocalUser) => new Promise(async (res, rej) => {
|
||||
// Get 'following' parameter
|
||||
const [following = false, followingError] =
|
||||
$.bool.optional.get(params.following);
|
||||
|
||||
Reference in New Issue
Block a user