Skip to content

Commit cbbc07c

Browse files
committed
Remove redundant authData diffing logic in RestWrite for simplification and efficiency.
1 parent a417ce2 commit cbbc07c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/RestWrite.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -594,10 +594,6 @@ RestWrite.prototype.handleAuthData = async function (authData) {
594594
baseAuthDataForDiff = await getBaseAuthDataForDiff(this);
595595
diff = Auth.diffAuthData(baseAuthDataForDiff || {}, authData || {});
596596
authDataForLookup = diff.changed || {};
597-
} else if (this.auth && this.auth.user && this.originalData) {
598-
baseAuthDataForDiff = await getBaseAuthDataForDiff(this);
599-
diff = Auth.diffAuthData(baseAuthDataForDiff || {}, authData || {});
600-
authDataForLookup = diff.changed || {};
601597
}
602598

603599
const withoutUnlinked = Object.fromEntries(

0 commit comments

Comments
 (0)