This commit is contained in:
kevinpauer
2022-04-28 21:02:33 +02:00
parent 006b65d790
commit 4788159865
5 changed files with 76 additions and 21 deletions

View File

@@ -50,7 +50,8 @@ export class DataService {
* @returns Observable
*/
public createTransaction(
symbol: string,
comment: string,
isin: string,
time: string,
count: number,
price: number
@@ -60,9 +61,10 @@ export class DataService {
return this.http.post(
API_URL + 'transaction',
{
comment,
count,
isin,
price,
symbol,
time,
},
{