Changed schema service to return any for json object.
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
This commit is contained in:
parent
09fa8b4f1f
commit
263fb6c3d4
@ -15,7 +15,7 @@ export class SchemaService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** Takes decoded schema url id */
|
/** Takes decoded schema url id */
|
||||||
public getSchema(id): Observable<string> {
|
public getSchema(id): Observable<any> {
|
||||||
const encodedId = encodeURIComponent(id);
|
const encodedId = encodeURIComponent(id);
|
||||||
return this.httpClient.get<any>(`${this.ApiEndpoint()}/api/v1/schema/${encodedId}`);
|
return this.httpClient.get<any>(`${this.ApiEndpoint()}/api/v1/schema/${encodedId}`);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user