diff --git a/frontend/src/app/Services/bot.service.ts b/frontend/src/app/Services/bot.service.ts index 954cdc6..afe1618 100644 --- a/frontend/src/app/Services/bot.service.ts +++ b/frontend/src/app/Services/bot.service.ts @@ -102,17 +102,17 @@ export class BotService { /** * Function to delete a share - * @param {string} symbol + * @param {string} isin * @returns Observable */ - public deleteShare(symbol: string): Observable { + public deleteShare(isin: string): Observable { return this.http.delete(API_URL + 'share', { headers: new HttpHeaders({ 'Content-Type': 'application/json', Authorization: 'Bearer ' + this.tokenStorage.getToken(), }), body: { - symbol, + isin, }, }); }