Skip to content

Commit 2c1c35f

Browse files
committed
Build v1.7.0-pre23
1 parent e6c01ce commit 2c1c35f

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

lib/teamsnap.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4047,6 +4047,9 @@ modifyModel = function() {
40474047
var isSame, oldValue, value;
40484048
oldValue = state[camelize(field.name)];
40494049
value = field.value;
4050+
if (field.name === 'type') {
4051+
value = camelize(value);
4052+
}
40504053
isSame = value === oldValue || (value && oldValue && value.valueOf() === oldValue.valueOf());
40514054
return !isSame;
40524055
});
@@ -5652,7 +5655,7 @@ ref = require('./model'), Collection = ref.Collection, Item = ref.Item;
56525655
require('./errors');
56535656

56545657
TeamSnap = (function() {
5655-
TeamSnap.prototype.version = '1.7.0-pre22';
5658+
TeamSnap.prototype.version = '1.7.0-pre23';
56565659

56575660
TeamSnap.prototype.promises = promises;
56585661

0 commit comments

Comments
 (0)