Skip to content

Commit

Permalink
#1768 / #1297: fix Fields getting set to empty string after changeKey…
Browse files Browse the repository at this point in the history
…Field and documentation not updated
  • Loading branch information
JoernBerkefeld committed Jan 8, 2025
1 parent 8a3841a commit 0d925a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/metadataTypes/DataExtension.js
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ class DataExtension extends MetadataType {
delete Util.changedKeysMap?.[this.definition.type]?.[key];

const cachedVersion = createdUpdated.updated
? cache.getByKey(this.definition.type, oldKey)
? cache.getByKey(this.definition.type, key)
: null;
if (cachedVersion) {
// UPDATE
Expand Down

0 comments on commit 0d925a1

Please sign in to comment.