We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34e0d88 commit 341a59dCopy full SHA for 341a59d
src/persistence.coffee
@@ -421,7 +421,7 @@ modifySDK = (sdk) ->
421
wrapMethod sdk, 'saveStatistic', (saveStatistic) ->
422
(statistic, callback) ->
423
# Unlink statisticGroup when being removed.
424
- if not statisticGroupId? and statistic.statisticGroup?
+ if not statistic.statisticGroupId? and statistic.statisticGroup?
425
linking.unlinkItems statistic.statisticGroup, statistic
426
427
saveStatistic.call(this, statistic, callback).then((result) ->
0 commit comments