[AAE-1238] Re-enable appVersion check

This commit is contained in:
Alex Bolboșenco 2019-12-18 15:54:24 +02:00
parent f5b6676bcd
commit ba9f14f90a

View File

@ -172,11 +172,11 @@ export class FormCloudService extends BaseCloudService {
* @returns Form definition
*/
getForm(appName: string, formKey: string, version?: number): Observable<any> {
const url = `${this.getBasePath(appName)}/form/v1/forms/${formKey}`;
let url = `${this.getBasePath(appName)}/form/v1/forms/${formKey}`;
// blocked by the issue AAE-1218
if (version) {
// url += `/versions/${version}`;
url += `/versions/${version}`;
}
return this.get(url);