ookieToken = res.data.cookie
      }
      async function upload(file) {
        var formData = new FormData()
        formData.append('imgFile', file)
        const imgSize = await getImgSize(file)
        const res = await axios({
          method: 'post',
          url: `http://localhost:3000/playlist/cover/update?id=${playlist_id}&cookie=${cookieToken}&imgSize=${
            imgSize.width
          }&imgX=0&imgY=0&timestamp=${Date.now()}`,
          headers: {
            'Content-Type': 'multipart/form