Merge pull request #5339 from Alfresco/dev-abolbosenco-AAE-1238

[AAE-1238] Re-enable appVersion check
This commit is contained in:
mergify[bot]
2019-12-18 15:17:02 +00:00
committed by GitHub

View File

@@ -172,11 +172,10 @@ 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);