Skip to content

Commit e34452e

Browse files
committed
Build teamsnap.js 1.7.6
1 parent c0eaa24 commit e34452e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/teamsnap.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4412,7 +4412,7 @@ modifySDK = function(sdk) {
44124412
});
44134413
wrapMethod(sdk, 'saveStatistic', function(saveStatistic) {
44144414
return function(statistic, callback) {
4415-
if ((typeof statisticGroupId === "undefined" || statisticGroupId === null) && (statistic.statisticGroup != null)) {
4415+
if ((statistic.statisticGroupId == null) && (statistic.statisticGroup != null)) {
44164416
linking.unlinkItems(statistic.statisticGroup, statistic);
44174417
}
44184418
return saveStatistic.call(this, statistic, callback).then(function(result) {
@@ -5749,7 +5749,7 @@ ref = require('./model'), Collection = ref.Collection, Item = ref.Item;
57495749
require('./errors');
57505750

57515751
TeamSnap = (function() {
5752-
TeamSnap.prototype.version = '1.7.5';
5752+
TeamSnap.prototype.version = '1.7.6';
57535753

57545754
TeamSnap.prototype.promises = promises;
57555755

0 commit comments

Comments
 (0)