Fix share delete bug
This commit is contained in:
parent
b929968be8
commit
ac4c59bbf8
@ -95,17 +95,17 @@ export class BotService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {string} share
|
||||
* @param {string} symbol
|
||||
* @returns Observable
|
||||
*/
|
||||
public deleteShare(share: string): Observable<any> {
|
||||
public deleteShare(symbol: string): Observable<any> {
|
||||
return this.http.delete(API_URL + 'share', {
|
||||
headers: new HttpHeaders({
|
||||
'Content-Type': 'application/json',
|
||||
Authorization: 'Bearer ' + this.tokenStorage.getToken(),
|
||||
}),
|
||||
body: {
|
||||
share,
|
||||
symbol,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user