From 553e5cb7a99d03012f17604e40bb462037a22d98 Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Tue, 25 Jun 2024 18:36:01 +0300 Subject: [PATCH] Replace dropType with matchType --- src/syndesizer/http_driver.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/syndesizer/http_driver.nim b/src/syndesizer/http_driver.nim index c6c2898..3f3a607 100644 --- a/src/syndesizer/http_driver.nim +++ b/src/syndesizer/http_driver.nim @@ -14,12 +14,12 @@ import proc spawnHttpDriver*(turn: Turn; relay: Cap): Actor {.discardable.} = ## Create a dataspace for the driver and to the gatekeeper dance. spawnActor(turn, "http-driver") do (turn: Turn): - let pat = Resolve?:{ 0: HttpDriverStep.dropType } + let pat = Resolve?:{ 0: HttpDriverStep.matchType } during(turn, relay, pat): let ds = turn.newDataspace() http_driver.spawnHttpDriver(turn, ds) # Spawn a shared driver. - let pat = Resolve?:{ 0: HttpDriverStep.dropType, 1: grab() } + let pat = Resolve?:{ 0: HttpDriverStep.matchType, 1: grab() } during(turn, relay, pat) do (obs: Cap): discard publish(turn, obs, ResolvedAccepted(responderSession: ds)) # Pass the shared driver dataspace.