Skip to content

Commit 3b33a0a

Browse files
committed
simplifying code, as suggested in #634
1 parent 45dc023 commit 3b33a0a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ui/src/components/common-google-oauth.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@ export class CommonGoogleOauthElement extends LitElement {
4141
this.authStatus = "Initiating OAuth flow...";
4242
this.authResult = null;
4343

44-
let authCellId = JSON.parse(JSON.stringify(this.auth, null, 2));
45-
authCellId.space = this.auth?.getAsCellLink().cell.space;
46-
authCellId = JSON.stringify(authCellId);
44+
const authCellId = JSON.stringify(this.auth?.getAsCellLink());
4745

4846
console.log("authCellId", authCellId);
4947

0 commit comments

Comments
 (0)