Revision 50536
Added by Myrto Koukouli about 6 years ago
validator.service.ts | ||
---|---|---|
45 | 45 |
|
46 | 46 |
/* returns true if there is a repository containing the identifier */ |
47 | 47 |
identifyRepository(identifier: string): Observable<boolean> { |
48 |
let url = `${this.apiUrl}/validator/identifyRepository/{url}?url=${identifier}`;
|
|
48 |
let url = `${this.apiUrl}/validator/identifyRepository/${identifier}`; |
|
49 | 49 |
console.log(`knocking on: ${url}`); |
50 | 50 |
return this.http.get(url) |
51 | 51 |
.map(res => <boolean>res.json()) |
Also available in: Unified diff
temporary commit for Panagiotis