Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge remote-tracking branch 'kaspermarkus/GPII-569'

* kaspermarkus/GPII-569:
  GPII-569: Added check if the preferences object is undefined
  • Loading branch information...
commit 2618f0b92f39d72953b958180123ecfee440bca6 2 parents 93bc45a + bfdfb97
@colinbdclark colinbdclark authored
View
2  gpii/node_modules/preferencesServer/src/preferencesServerUtilities.js
@@ -22,7 +22,7 @@
token: token,
preferences: preferences
}, event = "onSuccess";
- if (preferences.isError) {
+ if (preferences && preferences.isError) { //preferences are NOT expected on PUT/POST
data = preferences;
event = "onError"
}
Please sign in to comment.
Something went wrong with that request. Please try again.