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

2022.01
Mark van der Wal 2020-06-30 16:30:33 +02:00
parent 09fa8b4f1f
commit 263fb6c3d4
1 changed files with 1 additions and 1 deletions

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}`);
}