Changed schema service to return any for json object.
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good

This commit is contained in:
Mark van der Wal 2020-06-30 16:30:33 +02:00
parent 09fa8b4f1f
commit 263fb6c3d4

View File

@ -15,7 +15,7 @@ export class SchemaService {
}
/** Takes decoded schema url id */
public getSchema(id): Observable<string> {
public getSchema(id): Observable<any> {
const encodedId = encodeURIComponent(id);
return this.httpClient.get<any>(`${this.ApiEndpoint()}/api/v1/schema/${encodedId}`);
}