Merge branch 'frontend'

Fix share bug
This commit is contained in:
kevinpauer 2022-04-12 10:34:06 +02:00
commit f47ab2362b

View File

@ -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,
},
});
}