Skip to content

Commit 52ba80a

Browse files
committed
fix: fixes
1 parent 38c356d commit 52ba80a

1 file changed

Lines changed: 4 additions & 10 deletions

File tree

src/query_farm_server_base/server.py

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -376,8 +376,6 @@ def do_action(
376376
action=action,
377377
)
378378

379-
logger.info("do_action")
380-
381379
call_context = CallContext(
382380
context=context,
383381
caller=caller,
@@ -439,14 +437,10 @@ def do_action(
439437
)
440438
)
441439
elif action.type == "create_transaction":
442-
return iter(
443-
msgpack.packb(
444-
[
445-
self.action_create_transaction(
446-
context=call_context,
447-
database_name=action.body.to_pybytes().decode("utf-8"),
448-
)
449-
]
440+
return self.pack_result(
441+
self.action_create_transaction(
442+
context=call_context,
443+
database_name=action.body.to_pybytes().decode("utf-8"),
450444
)
451445
)
452446
elif action.type == "drop_not_null":

0 commit comments

Comments
 (0)