src/api/index.js
// this only unlinks symbol from portfolio, not completely from Stock table
this only unlinks symbol from portfolio, not completely from Stock table
this only unlinks symbol from portfolio not completely from Stock table
function deleteSymbol(params, accessToken) {
  return Vue.axios.delete(`${API_URL}/portfolios/${params.portfolioId}/${params.stockId}`, {
    headers: { Authorization: `Bearer ${accessToken}` },
  });
}
function deleteSymbol ( params , accessToken ) { return Vue . axios . delete ( ` ${ API_URL } ${ params . portfolioId } ${ params . stockId } ` , { headers : { Authorization : ` ${ accessToken } ` } , } ) ; }
this only unlinks symbol from portfolio, not completely from Stock table
this only unlinks symbol from portfolio not completely from Stock table