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 05d6046 commit 9707868Copy full SHA for 9707868
src/services/api/index.ts
@@ -55,7 +55,9 @@ export class YdbEmbeddedAPI {
55
const token = csrfTokenGetter();
56
if (token) {
57
this.auth.setCSRFToken(token);
58
+ // Use optional chaining as `meta` may not be initialized.
59
this.meta?.setCSRFToken(token);
60
+ // Use optional chaining as `codeAssist` may not be initialized.
61
this.codeAssist?.setCSRFToken(token);
62
this.operation.setCSRFToken(token);
63
this.pdisk.setCSRFToken(token);
0 commit comments