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