|
@@ -357,7 +357,7 @@ export default class Executable {
|
|
|
async toContext(id) {
|
|
async toContext(id) {
|
|
|
if (this.executor.snippet) {
|
|
if (this.executor.snippet) {
|
|
|
return {
|
|
return {
|
|
|
- operationId: id || this.operationId,
|
|
|
|
|
|
|
+ operationId: this.operationId,
|
|
|
snippet: this.executor.snippet.toContextJson(),
|
|
snippet: this.executor.snippet.toContextJson(),
|
|
|
notebook: await this.executor.snippet.parentNotebook.toContextJson()
|
|
notebook: await this.executor.snippet.parentNotebook.toContextJson()
|
|
|
};
|
|
};
|
|
@@ -392,7 +392,7 @@ export default class Executable {
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
return {
|
|
return {
|
|
|
- operationId: id,
|
|
|
|
|
|
|
+ operationId: undefined,
|
|
|
snippet: JSON.stringify(snippet),
|
|
snippet: JSON.stringify(snippet),
|
|
|
notebook: JSON.stringify(notebook)
|
|
notebook: JSON.stringify(notebook)
|
|
|
};
|
|
};
|