Skip to content

Commit

Permalink
Fix id lookup on JsProxy
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Mar 26, 2024
1 parent 5e88dd2 commit e6027e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nbsite/pyodide/WebWorker.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ try:
patch = _convert_json_patch(msg.patch)
except:
patch = msg.patch.to_py()
doc = state.cache[f"output-{msg['id']}"]
doc = state.cache[f"output-{msg.id}"]
doc.apply_json_patch(patch, setter='js')`

const MESSAGES = {
Expand Down

0 comments on commit e6027e0

Please # to comment.