Fix shares and keywords
This commit is contained in:
@@ -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({
|
||||
|
Reference in New Issue
Block a user