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 cbda60c commit 8c9b474Copy full SHA for 8c9b474
src/RestQuery.js
@@ -394,6 +394,17 @@ RestQuery.prototype.runFind = function() {
394
if (this.className === '_User') {
395
for (var result of results) {
396
delete result.password;
397
+
398
+ if (result.authData) {
399
+ Object.keys(result.authData).forEach((provider) => {
400
+ if (result.authData[provider] === null) {
401
+ delete result.authData[provider];
402
+ }
403
+ });
404
+ if (Object.keys(result.authData).length == 0) {
405
+ delete result.authData;
406
407
408
}
409
410
0 commit comments