We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c89889a commit f90ffc8Copy full SHA for f90ffc8
1 file changed
services/apps/data_sink_worker/src/bin/fix-member-attributes.ts
@@ -155,7 +155,7 @@ setImmediate(async () => {
155
}
156
157
if (process) {
158
- const oldAttributes = data.attributes
+ const oldAttributes = JSON.parse(JSON.stringify(data.attributes)) // Deep copy
159
data.attributes = await mas.setAttributesDefaultValues(data.attributes)
160
161
let attributes: Record<string, unknown> | undefined
0 commit comments