mirror of
https://github.com/sim1222/misskey.git
synced 2025-07-02 17:00:07 +09:00
Follow linter
This commit is contained in:
@ -1,5 +1,3 @@
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Module dependencies
|
||||
*/
|
||||
@ -15,9 +13,7 @@ import serialize from '../../serializers/post';
|
||||
* @param {any} user
|
||||
* @return {Promise<any>}
|
||||
*/
|
||||
module.exports = (params, user) =>
|
||||
new Promise(async (res, rej) =>
|
||||
{
|
||||
module.exports = (params, user) => new Promise(async (res, rej) => {
|
||||
// Get 'following' parameter
|
||||
const [following, followingError] =
|
||||
it(params.following).expect.boolean().default(false).qed();
|
||||
|
Reference in New Issue
Block a user