Skip to content

Commit

Permalink
fix using documentId as sessionId
Browse files Browse the repository at this point in the history
  • Loading branch information
vieiralucas committed Nov 27, 2024
1 parent 15bb275 commit 6960369
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/api/src/yjs/v2/executor/python.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export class PythonExecutor implements IPythonExecutor {
private async updateDataFrames(blockId: string) {
const newDataframes = await this.effects.listDataFrames(
this.workspaceId,
this.documentId
this.sessionId
)

const blocks = new Set(Array.from(this.blocks.keys()))
Expand Down
2 changes: 1 addition & 1 deletion apps/api/src/yjs/v2/executor/sql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ export class SQLExecutor implements ISQLExecutor {
try {
await this.effects.renameDataFrame(
this.workspaceId,
this.documentId,
this.sessionId,
dataframeName.value,
dataframeName.newValue
)
Expand Down

0 comments on commit 6960369

Please sign in to comment.