diff --git a/plugins/songUpload.js b/plugins/songUpload.js index d94d8f45d517241c06d2244de3e31fa887439de1..89d85fc9891c160166c2532079aa42bf93136f01 100644 --- a/plugins/songUpload.js +++ b/plugins/songUpload.js @@ -29,9 +29,12 @@ module.exports = async (query, request) => { 'Content-Length': String(query.songFile.size), }, data: query.songFile.data, + maxContentLength: Infinity, + maxBodyLength: Infinity, }) } catch (error) { console.log('error', error.response) + throw error.response } return { ...tokenRes,