From 3935bd7b41916851c8fab551ae36cb2f85189a30 Mon Sep 17 00:00:00 2001 From: binaryify Date: Thu, 20 Jul 2023 09:41:36 +0800 Subject: [PATCH] fix: lint error --- module/starpick_comments_summary.js | 45 ++++++++++++++--------------- 1 file changed, 22 insertions(+), 23 deletions(-) diff --git a/module/starpick_comments_summary.js b/module/starpick_comments_summary.js index 2ed5a1c..ae31608 100644 --- a/module/starpick_comments_summary.js +++ b/module/starpick_comments_summary.js @@ -1,23 +1,22 @@ -// 云村星评馆 - 简要评论列表 -module.exports = (query, request) => { - const data = { - cursor: JSON.stringify({ - offset: 0, - blockCodeOrderList: ['HOMEPAGE_BLOCK_NEW_HOT_COMMENT'], - refresh: true, - }), - } - return request( - 'POST', - `https://interface3.music.163.com/eapi/homepage/block/page`, - data, - { - crypto: 'eapi', - cookie: query.cookie, - proxy: query.proxy, - url: '/api/homepage/block/page', - realIP: query.realIP, - }, - ) - } - \ No newline at end of file +// 云村星评馆 - 简要评论列表 +module.exports = (query, request) => { + const data = { + cursor: JSON.stringify({ + offset: 0, + blockCodeOrderList: ['HOMEPAGE_BLOCK_NEW_HOT_COMMENT'], + refresh: true, + }), + } + return request( + 'POST', + `https://interface3.music.163.com/eapi/homepage/block/page`, + data, + { + crypto: 'eapi', + cookie: query.cookie, + proxy: query.proxy, + url: '/api/homepage/block/page', + realIP: query.realIP, + }, + ) +}