Fix #183
This commit is contained in:
parent
0d145b5883
commit
6dfb96a6db
@ -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,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user