We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 435ccc5 commit cba3a55Copy full SHA for cba3a55
lib/metadataTypes/Folder.js
@@ -296,13 +296,12 @@ class Folder extends MetadataType {
296
* @returns {Promise} Promise
297
*/
298
static async update(metadata) {
299
- const tempCustomerKey = metadata.CustomerKey;
300
const path = metadata.Path;
301
try {
302
const response = await super.updateSOAP(metadata, 'DataFolder', true);
303
if (response) {
304
response.body.Results[0].Object = metadata;
305
- response.body.Results[0].Object.CustomerKey = tempCustomerKey;
+ response.body.Results[0].Object.CustomerKey = metadata.CustomerKey;
306
delete response.body.Results[0].Object.$;
307
Util.logger.info(`- updated folder: ${path}`);
308
return response;
0 commit comments