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 a19a625 commit 96fc3cdCopy full SHA for 96fc3cd
src/ParseUser.js
@@ -425,7 +425,10 @@ class ParseUser extends ParseObject {
425
if (options.hasOwnProperty('installationId')) {
426
signupOptions.installationId = options.installationId;
427
}
428
- if (options.hasOwnProperty('context') && typeof options.context === 'object') {
+ if (
429
+ options.hasOwnProperty('context') &&
430
+ Object.prototype.toString.call(options.context) === '[object Object]'
431
+ ) {
432
signupOptions.context = options.context;
433
434
0 commit comments