Skip to content

Commit

Permalink
fix(web): running wouldn't publish code (#1158)
Browse files Browse the repository at this point in the history
  • Loading branch information
newfish-cmyk authored May 19, 2023
1 parent b0ceb72 commit 3935b4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/pages/app/functions/mods/DebugPanel/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export default function DebugPanel(props: { containerRef: any; showOverlay: bool

updateFunctionMutation.mutateAsync({
description: currentFunction?.desc,
code: functionCache.getCache(currentFunction!.id, currentFunction!.source?.code),
code: currentFunction?.source.code,
methods: currentFunction?.methods,
websocket: currentFunction?.websocket,
name: currentFunction?.name,
Expand Down

0 comments on commit 3935b4f

Please sign in to comment.