Skip to content

Commit 3935b4f

Browse files
authored
fix(web): running wouldn't publish code (#1158)
1 parent b0ceb72 commit 3935b4f

File tree

1 file changed

+1
-1
lines changed
  • web/src/pages/app/functions/mods/DebugPanel

1 file changed

+1
-1
lines changed

web/src/pages/app/functions/mods/DebugPanel/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export default function DebugPanel(props: { containerRef: any; showOverlay: bool
9393

9494
updateFunctionMutation.mutateAsync({
9595
description: currentFunction?.desc,
96-
code: functionCache.getCache(currentFunction!.id, currentFunction!.source?.code),
96+
code: currentFunction?.source.code,
9797
methods: currentFunction?.methods,
9898
websocket: currentFunction?.websocket,
9999
name: currentFunction?.name,

0 commit comments

Comments
 (0)