Skip to content

Commit

Permalink
Update order.service.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
TimoScheuermann committed Apr 1, 2021
1 parent 40fdbd9 commit f2c2fc4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/order/order.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,11 @@ export class OrderService {
timestamp: new Date().getTime(),
});

this.httpService.post(order.onPlace, {
const res = await this.httpService.post(order.onPlace, {
jobId: jobId.toString(),
...order.toJSON(),
});
}).toPromise();
console.log(res);
await this.orderPlaced(order);
}

Expand Down

0 comments on commit f2c2fc4

Please sign in to comment.