Fix shares and keywords

This commit is contained in:
kevinpauer
2022-04-28 21:12:14 +02:00
parent 4788159865
commit 7bcfdc4081
4 changed files with 9 additions and 8 deletions

View File

@@ -79,11 +79,12 @@ export class BotService {
* @param {string} keyword
* @returns Observable
*/
public createShare(symbol: string): Observable<any> {
public createShare(isin: string, comment: string): Observable<any> {
return this.http.post(
API_URL + 'share',
{
symbol,
comment,
isin,
},
{
headers: new HttpHeaders({