Skip to content

Commit

Permalink
forgot config function name
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieuancelin committed Feb 6, 2024
1 parent afab699 commit 65ac253
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion otoroshi/app/next/plugins/websocket.scala
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ class WasmWebsocketTransformer extends NgWebsocketPlugin {
case Some((vm, localConfig)) =>
vm.call(
WasmFunctionParameters.ExtismFuntionCall(
functionName.getOrElse("on_message"),
config.functionName.filter(_.nonEmpty).orElse(functionName).getOrElse("on_message"),
input.stringify
),
None
Expand Down

0 comments on commit 65ac253

Please sign in to comment.