fix(electron): unable to add a song to library

This commit is contained in:
qier222 2021-03-08 13:15:55 +08:00
parent 4b2d5a2b3c
commit 82c179c9ae
No known key found for this signature in database
GPG Key ID: 9C85007ED905F14D

View File

@ -5165,7 +5165,7 @@ module.exports = {
req.body,
req.files,
);
const like = (query, request) => (query, request) => {
const like = (query, request) => {
query.cookie.os = 'pc'
query.cookie.appver = '2.7.1.198277'
query.like = query.like == 'false' ? false : true