Fix #179 #180

Merged
kevinpauer merged 5 commits from frontend into main 2022-05-12 15:04:08 +00:00
Showing only changes of commit 6dfb96a6db - Show all commits

View File

@ -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<any> {
public deleteShare(isin: string): Observable<any> {
return this.http.delete(API_URL + 'share', {
headers: new HttpHeaders({
'Content-Type': 'application/json',
Authorization: 'Bearer ' + this.tokenStorage.getToken(),
}),
body: {
symbol,
isin,
},
});
}