diff --git a/src/lib/analytics/app/folder.ts b/src/lib/analytics/app/folder.ts index 2dc11faa..aa8aa734 100644 --- a/src/lib/analytics/app/folder.ts +++ b/src/lib/analytics/app/folder.ts @@ -91,7 +91,16 @@ export default class Folder { } public async update(folderid: string, templateid: string): Promise { - const body = JSON.stringify({ templateSourceId: templateid, templateOptions: { appAction: 'Upgrade' } }); + let body = JSON.stringify({ templateSourceId: templateid, templateOptions: { appAction: 'Upgrade' } }); + if (this.serverVersion >= 55.0) { + body = JSON.stringify({ + templateSourceId: templateid, + templateOptions: { + appAction: 'Upgrade', + dynamicOptions: { productionType: 'ATF_3_0', runtimeLogEntryLevel: 'Warning' } + } + }); + } const wtUrl = this.foldersUrl + encodeURIComponent(folderid); const response = await connectRequest(this.connection, { method: 'PUT',