Browse Source

web-ui: Fix url for retrieving transactions on TransactionsService

scalafmt-draft
Alexis Hernandez 7 years ago
parent
commit
e29d288d60
  1. 2
      web-ui/src/app/services/transactions.service.ts

2
web-ui/src/app/services/transactions.service.ts

@ -16,7 +16,7 @@ export class TransactionsService {
constructor(private http: HttpClient) { } constructor(private http: HttpClient) { }
get(txid: string): Observable<any> { get(txid: string): Observable<any> {
const url = this.baseUrl + txid; const url = `${this.baseUrl}/${txid}`;
return this.http.get(url); return this.http.get(url);
} }
} }

Loading…
Cancel
Save